Commit f359cff9 by arbabnazar

auto confirm and if fix

parent bd3cc376
......@@ -11,7 +11,7 @@
##
## Sanity check
##
if [[ ! "$(lsb_release -d | cut -f2)" =~ $'Ubuntu 12.04' ]]; then
if [[ `lsb_release -rs` != "12.04" ]]; then
echo "This script is only known to work on Ubuntu 12.04, exiting...";
exit;
fi
......@@ -20,7 +20,7 @@ fi
## Set ppa repository source for gcc/g++ 4.8 in order to install insights properly
##
sudo apt-get install -y python-software-properties
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
##
## Update and Upgrade apt packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment