Added ignore of sub-install processes
This commit is contained in:
parent
052d9ccef9
commit
eb32eee00d
@ -89,11 +89,11 @@ users=$(dialog --checklist "Install this on User" 0 0 4 root "0" on "${menu[@]}"
|
|||||||
# for each user install packages
|
# for each user install packages
|
||||||
for user in $users; do
|
for user in $users; do
|
||||||
# install zsh shell
|
# install zsh shell
|
||||||
chsh -s /bin/zsh $user
|
chsh -s /bin/zsh $user || true
|
||||||
|
|
||||||
# run install and configuration scripts
|
# run install and configuration scripts
|
||||||
for target in install-ohmyzsh install-fzf configure-vim; do
|
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
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user