Fixed sub-call (su -l), added dialog

This commit is contained in:
Andreas Fendt 2018-12-28 19:52:10 +01:00
parent b1fe124028
commit 4d1ac99ac3
3 changed files with 3 additions and 3 deletions

0
.gitignore vendored Executable file → Normal file
View File

6
install-debian.sh Executable file → Normal file
View File

@ -4,7 +4,7 @@
# This script can be called multiple times
# Copyright (C) 2018 Andreas Fendt - All Rights Reserved
# Permission to copy and modify is granted under the MIT license
# Last revised 28.04.2018
# Last revised 28.12.2018
script=/tmp/install-script
cat > $script << 'EOL'
@ -61,7 +61,7 @@ apt-get dist-upgrade -y
apt-get autoclean -y
# install default packages
apt-get install -y fonts-powerline python-pip zsh sudo mc tree pv vim bash-completion wget git htop iotop iftop nmon apt-file aptitude hexedit tmux
apt-get install -y apt-file aptitude bash-completion dialog fonts-powerline git hexedit htop iftop iotop mc nmon pv python-pip sudo tmux tree vim wget zsh
pip install git+https://github.com/jeffkaufman/icdiff.git
# get users
@ -75,7 +75,7 @@ for user in $users; do
# run install and configuration scripts
for target in install-ohmyzsh install-fzf configure-vim; do
su -c "$script $target" -s /bin/bash $user
su -l -c "$script $target" -s /bin/bash $user
done
done

0
unattended-upgrades.sh Executable file → Normal file
View File