Move git install to install side, not ISO side

This commit is contained in:
maride 2017-09-04 16:20:12 +02:00
parent 198f62c1fc
commit b8b7673ac9

View File

@ -27,11 +27,10 @@ else
echo -n " Set up zsh with ohmyzsh for $name? (Y/n) " echo -n " Set up zsh with ohmyzsh for $name? (Y/n) "
read answer read answer
if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then
pacstrap /mnt zsh pacstrap /mnt zsh git
pacman -Sy --noconfirm git pacstrap /mnt git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /mnt/home/$name/.oh-my-zsh
git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /mnt/home/$name/.oh-my-zsh
wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/$name/.zshrc wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/$name/.zshrc
fi fi
amf_return=0 amf_return=0
fi fi