Added ignore of sub-install processes

This commit is contained in:
Andreas Fendt 2019-11-03 22:50:24 +01:00
parent 052d9ccef9
commit eb32eee00d

View File

@ -89,11 +89,11 @@ users=$(dialog --checklist "Install this on User" 0 0 4 root "0" on "${menu[@]}"
# for each user install packages
for user in $users; do
# install zsh shell
chsh -s /bin/zsh $user
chsh -s /bin/zsh $user || true
# run install and configuration scripts
for target in install-ohmyzsh install-fzf configure-vim; do
su -l -c "$script $target" -s /bin/bash $user
su -l -c "$script $target" -s /bin/bash $user || true
done
done