artix

desc
git clone https://git.awy.one/artix.git
Log | Files | Refs | README | LICENSE

commit cb63fac1c8ad3fe9f1f1470d6754b5ff57d90703
parent 1ab16323eafe4b9a0697b92561ca5463fe8f5b3a
Author: awy <awy@tutamail.com>
Date:   Wed, 21 Aug 2024 14:04:47 +0300

zsh

Diffstat:
Minstall.sh | 4++--
Mpost_chroot.sh | 4+++-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/install.sh b/install.sh @@ -48,8 +48,8 @@ elif [ "$_kernelflag" -eq 2 ]; then rc-service ntpd start pacman -Sy --confirm basestrap /mnt base openrc seatd-openrc udev intel-ucode - echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2 - UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" > /mnt/etc/fstab + echo "UUID=$UUID_BOOT /boot vfat defaults,noatime 0 2" > /mnt/etc/fstab + echo "UUID=$UUID_ROOT / ext4 defaults,noatime 0 1" >> /mnt/etc/fstab cp post_chroot.sh /mnt else printf ${LIGHTRED}"Wrong kernelflag value.${NoColor}\n" diff --git a/post_chroot.sh b/post_chroot.sh @@ -80,7 +80,7 @@ if [ "$_kernelflag" -eq 1 ]; then fi # use dash as sh -pacman -Sy dash +pacman -Sy dash zsh ln -sfT dash /usr/bin/sh mkdir -p /etc/pacman.d/hooks cat <<EOL >> /etc/pacman.d/hooks/bash.hook @@ -97,4 +97,6 @@ Exec = /usr/bin/ln -sfT dash /usr/bin/sh Depends = dash EOL +chsh -s /bin/zsh $_username + rm /post_chroot.sh