mirror of
https://github.com/mrfluffy-dev/artix-setup.git
synced 2026-01-17 05:10:34 +00:00
made the scripts posix complient
This commit is contained in:
25
setup2.sh
25
setup2.sh
@@ -1,12 +1,12 @@
|
||||
!#/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
name = $USER
|
||||
cd /home/$name
|
||||
name=$USER
|
||||
cd /home/"$name" || exit 1
|
||||
echo installing paru pacage manager
|
||||
git clone https://aur.archlinux.org/paru-bin.git
|
||||
cd paru-bin
|
||||
cd paru-bin || exit 1
|
||||
makepkg -si --noconfirm
|
||||
cd ..
|
||||
cd .. || exit 1
|
||||
rm -R paru-bin
|
||||
echo installing pacages with paru
|
||||
paru
|
||||
@@ -17,17 +17,18 @@ paru -S \
|
||||
nerd-fonts-iosevka \
|
||||
noto-fonts-emoji \
|
||||
git clone https://github.com/ZastianPretorius/config.git
|
||||
cd config
|
||||
cd config || exit 1
|
||||
for entry in *
|
||||
do
|
||||
mv $entry /home/$name/$entry
|
||||
mv "$entry" /home/"$name"/"$entry"
|
||||
done
|
||||
cd
|
||||
cd || exit 1
|
||||
mkdir Pictures
|
||||
cd Pictures
|
||||
cd Pictures || exit 1
|
||||
git clone https://github.com/ZastianPretorius/wallpapers.git
|
||||
read -sp "sudo password:" pass
|
||||
sudo rc-update add NetworkManager | echo $pass
|
||||
suso rc-update add lightdm | echo $pass
|
||||
printf "sudo password:"
|
||||
read -r pass
|
||||
echo "$pass" | sudo rc-update add NetworkManager
|
||||
echo "$pass" | suso rc-update add lightdm
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user