CC-5356: Disable default site correctly in Ubuntu Saucy
This commit is contained in:
parent
855f642936
commit
a03fe959b6
1 changed files with 6 additions and 2 deletions
|
@ -131,8 +131,12 @@ else
|
|||
if [ ! -f /etc/apache2/sites-available/airtime ]; then
|
||||
echo "Creating Apache config for Airtime..."
|
||||
cp $SCRIPTPATH/../apache/airtime-vhost /etc/apache2/sites-available/airtime
|
||||
a2dissite default
|
||||
a2dissite 000-default #Ubuntu 13.10
|
||||
|
||||
if [ "$dist" = "Ubuntu" -a "$code" = "saucy" ]; then
|
||||
a2dissite 000-default
|
||||
else
|
||||
a2dissite default
|
||||
fi
|
||||
a2ensite airtime
|
||||
else
|
||||
echo "Apache config for Airtime already exists..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue