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) "
read answer
if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then
pacstrap /mnt zsh
pacman -Sy --noconfirm git
git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /mnt/home/$name/.oh-my-zsh
pacstrap /mnt zsh git
pacstrap /mnt 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
fi
amf_return=0
amf_return=0
fi