SAAS-83: Add ability to install Airtime components separately
-moving along...
This commit is contained in:
parent
b16fa16042
commit
3a39aacd85
6 changed files with 33 additions and 30 deletions
|
@ -7,9 +7,7 @@ if [ `whoami` != 'root' ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
export INSTALL_PYPO=1
|
||||
export INSTALL_MEDIA_MONITOR=1
|
||||
export INSTALL_SHOW_RECORDER=1
|
||||
export WEB_ONLY=0
|
||||
|
||||
set +e
|
||||
DEB=$(dpkg -s airtime 2> /dev/null | grep Status)
|
||||
|
@ -30,6 +28,7 @@ set +e
|
|||
DO_UPGRADE="0"
|
||||
php --php-ini ${SCRIPTPATH}/airtime-php.ini ${SCRIPTPATH}/include/airtime-installed-check.php $@
|
||||
result=$?
|
||||
|
||||
set -e
|
||||
if [ "$result" -eq "1" ]; then
|
||||
DO_UPGRADE="1"
|
||||
|
@ -37,6 +36,8 @@ elif [ "$result" -eq "2" -o "$result" -eq "3" ]; then
|
|||
exit 1
|
||||
elif [ "$result" -eq "4" ]; then
|
||||
exit 0
|
||||
elif [ "$result" -eq "5" ]; then
|
||||
WEB_ONLY=1
|
||||
fi
|
||||
|
||||
#make DO_UPGRADE available in sub bash scripts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue