CC-3738: Installation: Errors on installation

-also commented out code
This commit is contained in:
Martin Konecny 2012-04-30 12:17:25 -04:00
parent af1b5d3f7a
commit 42fbab9ff7
2 changed files with 3 additions and 8 deletions

View File

@ -35,7 +35,9 @@ AIRTIMEROOT=$SCRIPTPATH/../../
echo "* Creating /etc/airtime"
mkdir -p /etc/airtime
if [ ! -e /etc/airtime/airtime.conf ]; then
#if [ ! -e /etc/airtime/airtime.conf ]; then
if [ "$DO_UPGRADE" -eq "0" ]; then
#We aren't doing an upgrade so simply overwrite the config files.
cp $AIRTIMEROOT/airtime_mvc/build/airtime.conf /etc/airtime
fi
@ -62,9 +64,6 @@ if [ "$python_service" -eq "0" ]; then
if [ "$pypo" = "t" ]; then
python $AIRTIMEROOT/python_apps/pypo/install/pypo-copy-files.py
fi
#if [ "$showrecorder" = "t" ]; then
# python $AIRTIMEROOT/python_apps/show-recorder/install/recorder-copy-files.py
#fi
fi
mkdir -p /usr/lib/airtime

View File

@ -36,10 +36,6 @@ fi
if [ "$pypo" = "t" ]; then
python $AIRTIMEROOT/python_apps/pypo/install/pypo-initialize.py
fi
#if [ "$showrecorder" = "t" ]; then
# python $AIRTIMEROOT/python_apps/show-recorder/install/recorder-initialize.py
#fi
# Start monit if it is not running, or restart if it is.
# Need to ensure monit is running before Airtime daemons are run. This is