From 2f0b3d423cd0ae31167f267ee39fe8234f573cfd Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Fri, 16 Jan 2015 10:54:30 -0500 Subject: [PATCH] Small fix for users installing over an old version of airtime --- install | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install b/install index 74426e5fd..ec749b3da 100755 --- a/install +++ b/install @@ -251,9 +251,12 @@ will be moved to /etc/airtime/airtime.conf.tmp" # /etc/init.d startup scripts, services won't work properly rm -rf /usr/lib/airtime/ rm /etc/init.d/airtime-* - # If the user selects an "in-place" install or passes in a web root, - # we need to replace the old apache airtime.conf - rm /etc/apache2/sites-available/airtime.conf + + if [ "$apache" = "t" ]; then + # If the user selects an "in-place" install or passes in a web root, + # we need to replace the old apache airtime.conf + rm /etc/apache2/sites-available/airtime.conf + fi if [ -d /usr/share/airtime -a web_root = /usr/share/airtime ]; then rm -rf /usr/share/airtime