fixed broken generic install command eval

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-07-19 10:50:33 +02:00
parent 20eb505fd6
commit c9ef7bdbc9
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,6 @@
set -e set -e
echo echo
echo "configuring settings common among OSes" echo "configuring settings common among OSes"
sudo true
#zsh #zsh
chsh -s `which zsh` $USER chsh -s `which zsh` $USER

View file

@ -7,12 +7,13 @@ else
echo "choosing totally noninteractive installation method" echo "choosing totally noninteractive installation method"
COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\""; COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\"";
fi fi
set -e
sudo apt-get update sudo apt-get update
UPGRADE_COMMAND="sudo $COMMAND_PREFIX dist-upgrade" UPGRADE_COMMAND="sudo $COMMAND_PREFIX dist-upgrade"
eval ${UPGRADE_COMMAND} 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" 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} eval ${INSTALL_COMMAND}
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"