Change shell (chsh) of user, not root

This commit is contained in:
maride 2017-09-13 15:40:15 +02:00
parent 5635e9efac
commit 039d2db196

View File

@ -30,7 +30,7 @@ else
pacstrap /mnt zsh git
arch-chroot /mnt git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /home/$name/.oh-my-zsh
wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/$name/.zshrc
arch-chroot /mnt chsh -s /bin/zsh
arch-chroot /mnt chsh -s /bin/zsh $name
fi
amf_return=0