aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-21 14:17:07 +0300
committerawy <awy@tutamail.com>2024-08-21 14:17:07 +0300
commit2be322db747de1490df3f9298204f039760b2cb5 (patch)
treee2c76ffbc4bb539c0b28512781d6d241a1cf2b46
parentaf1179bcde015be8e2473fcc0dbc2b519451a2c3 (diff)
fixes
-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