Update setup.sh
This commit is contained in:
parent
fdf32549ef
commit
2ca1e5b90c
1 changed files with 6 additions and 6 deletions
12
setup.sh
12
setup.sh
|
@ -17,7 +17,7 @@ if [[ -z "$1" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if isValidUsername "$1"; then
|
#if isValidUsername "$1"; then
|
||||||
pacman -Syu --needed - < $PWD/Packages-Desktop
|
pacman -Syu --needed - < $PWD/Packages-Desktop
|
||||||
systemctl enable NetworkManager
|
systemctl enable NetworkManager
|
||||||
systemctl enable sddm
|
systemctl enable sddm
|
||||||
|
@ -27,8 +27,8 @@ if isValidUsername "$1"; then
|
||||||
cp -r $PWD/root/. /root/
|
cp -r $PWD/root/. /root/
|
||||||
useradd -mUG lp,wheel,network,video $1
|
useradd -mUG lp,wheel,network,video $1
|
||||||
passwd $1
|
passwd $1
|
||||||
exit 0
|
# exit 0
|
||||||
else
|
#else
|
||||||
echo "$1 is not a valid username"
|
# echo "$1 is not a valid username"
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
#fi
|
||||||
|
|
Loading…
Reference in a new issue