Small fix for users installing over an old version of airtime
This commit is contained in:
parent
75306936c0
commit
2f0b3d423c
9
install
9
install
|
@ -251,9 +251,12 @@ will be moved to /etc/airtime/airtime.conf.tmp"
|
||||||
# /etc/init.d startup scripts, services won't work properly
|
# /etc/init.d startup scripts, services won't work properly
|
||||||
rm -rf /usr/lib/airtime/
|
rm -rf /usr/lib/airtime/
|
||||||
rm /etc/init.d/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
|
if [ "$apache" = "t" ]; then
|
||||||
rm /etc/apache2/sites-available/airtime.conf
|
# 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
|
if [ -d /usr/share/airtime -a web_root = /usr/share/airtime ]; then
|
||||||
rm -rf /usr/share/airtime
|
rm -rf /usr/share/airtime
|
||||||
|
|
Loading…
Reference in New Issue