Don't overwrite airtime.conf if it already exists

This commit is contained in:
Martin Konecny 2012-04-30 23:12:23 -04:00
parent 6f3b1bc7c2
commit 0aa1ef6e46

View file

@ -35,9 +35,8 @@ AIRTIMEROOT=$SCRIPTPATH/../../
echo "* Creating /etc/airtime"
mkdir -p /etc/airtime
#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.
#if [ "$DO_UPGRADE" -eq "0" ]; then
if [ ! -e /etc/airtime/airtime.conf ]; then
cp $AIRTIMEROOT/airtime_mvc/build/airtime.conf /etc/airtime
fi