commit 2be322db747de1490df3f9298204f039760b2cb5
parent af1179bcde015be8e2473fcc0dbc2b519451a2c3
Author: awy <awy@tutamail.com>
Date: Wed, 21 Aug 2024 14:17:07 +0300
fixes
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh
@@ -53,7 +53,7 @@ else
fi
# use dash as sh
-pacman -Sy dash
+pacman -Sy dash zsh --noconfirm
ln -sfT dash /usr/bin/sh
mkdir -p /etc/pacman.d/hooks
cat <<EOL >> /etc/pacman.d/hooks/bash.hook
@@ -70,7 +70,6 @@ Exec = /usr/bin/ln -sfT dash /usr/bin/sh
Depends = dash
EOL
-pacman -Sy zsh
useradd -m -g users -G wheel,storage,power -s /bin/zsh $_username
echo root:$_rootpasswd | chpasswd