-clean up full_install scripts

This commit is contained in:
Martin Konecny 2012-05-08 20:54:10 -04:00
parent 6c4bb1ef9e
commit a5ec83ebbd
2 changed files with 9 additions and 28 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
#
# Auto install script for airtime on Ubuntu
#
@ -6,7 +6,7 @@
# Link to the post:
# http://forum.sourcefabric.org/discussion/13563/first-step-to-run-airtime-via-nginx-based-on-airtime-2.0-beta-files
exec > >(tee install_log.txt)
exec >> (tee install_log.txt)
exec 2>&1
if [ "$(id -u)" != "0" ]; then
@ -57,14 +57,6 @@ else
apt-get -y install libzend-framework-php
fi
if [ "$?" -ne "0" ]; then
echo ""
echo "There was a problem with apt-get. Please check the above error and try again."
echo ""
exit 1
fi
# NGINX Config File
echo "----------------------------------------------------"
echo "2.1 NGINX Config File"