dist-upgrade whole system only if not in CI

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-07-19 10:58:01 +02:00
parent c9ef7bdbc9
commit baf6b2a355

View file

@ -10,8 +10,12 @@ fi
set -e
sudo apt-get update
UPGRADE_COMMAND="sudo $COMMAND_PREFIX dist-upgrade"
eval ${UPGRADE_COMMAND}
if [ -z ${IN_CI+x} ]; then
echo "upgrading whole system, as not in CI"
UPGRADE_COMMAND="sudo $COMMAND_PREFIX dist-upgrade"
eval ${UPGRADE_COMMAND}
fi
INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv pixz gajim tor torsocks nodejs npm terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools aircrack-ng macchanger"
eval ${INSTALL_COMMAND}