-fixes to upgrade script

This commit is contained in:
Martin Konecny 2011-11-28 04:57:28 -05:00
parent 0668ee743c
commit 3047ca8238
3 changed files with 3 additions and 5 deletions

View file

@ -59,7 +59,7 @@ virtualenv_bin="/usr/lib/airtime/airtime_virtualenv/bin/"
python $AIRTIMEROOT/python_apps/create-pypo-user.py
if [ "$DO_UPGRADE" = "1" ]; then
if [ "$DO_UPGRADE" -eq "1" ]; then
#do upgrade
php --php-ini ${SCRIPTPATH}/airtime-php.ini ${SCRIPTPATH}/include/airtime-upgrade.php $@
fi
@ -74,7 +74,7 @@ deactivate
echo -e "\n*** Verifying your system environment, running airtime-check-system ***"
sleep 10
airtime-check-system
airtime-check-system --no-color
echo -e "\n******************************* Install Complete *******************************"