CC-2806: Create upgrade template file
-missing function -comment out redundant code
This commit is contained in:
parent
421f543f99
commit
d93a9edcd2
4 changed files with 11 additions and 6 deletions
|
@ -33,10 +33,8 @@ python ${SCRIPTPATH}/../python_apps/create-pypo-user.py
|
|||
set +e
|
||||
php --php-ini ${SCRIPTPATH}/airtime-php.ini ${SCRIPTPATH}/include/airtime-install.php $@
|
||||
result=$?
|
||||
if [ "$result" -eq "2" ]; then
|
||||
#We've just finished an upgrade, so let's exit
|
||||
exit 0
|
||||
elif [ "$result" -ne "0" ]; then
|
||||
|
||||
if [ "$result" -ne "0" ]; then
|
||||
#There was an error, exit with error code.
|
||||
echo "There was an error during upgrade. Exit code $result"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue