2014-09-01 20:42:28 +01:00
|
|
|
#!/bin/bash
|
2015-07-19 09:28:15 +01:00
|
|
|
# detect if building inside a CI system, like Travis
|
|
|
|
if [ -z ${IN_CI+x} ]; then
|
2015-07-19 09:34:30 +01:00
|
|
|
COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\"";
|
2015-07-19 09:28:15 +01:00
|
|
|
else
|
2015-07-19 09:34:30 +01:00
|
|
|
COMMAND_PREFIX="apt-get -y";
|
2015-07-19 09:28:15 +01:00
|
|
|
fi
|
|
|
|
|
2015-07-19 09:34:30 +01:00
|
|
|
sudo apt-get update
|
|
|
|
UPGRADE_COMMAND="sudo $COMMAND_PREFIX dist-upgrade"
|
|
|
|
eval ${UPGRADE_COMMAND}
|
|
|
|
|
|
|
|
$INSTALL_COMMAND="$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"
|
2015-07-19 09:28:15 +01:00
|
|
|
eval ${INSTALL_COMMAND}
|
2015-07-19 09:34:30 +01:00
|
|
|
|
2014-10-11 09:58:07 +01:00
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2015-01-25 08:57:25 +00:00
|
|
|
DIR="$DIR/../"
|
2015-04-30 21:29:17 +01:00
|
|
|
DIR="$DIR" $DIR/common/configure_fresh_system
|
2014-09-01 20:42:28 +01:00
|
|
|
|