aboutsummaryrefslogtreecommitdiff
path: root/post_chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-xpost_chroot.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/post_chroot.sh b/post_chroot.sh
index 2857585..f2e0dff 100755
--- 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