Some more stuff for CC-5356 / Ubuntu Saucy installation

This commit is contained in:
Albert Santoni 2013-10-04 14:57:25 -04:00
parent a03fe959b6
commit 477ff248f6

View file

@ -130,11 +130,12 @@ else
echo "----------------------------------------------------" echo "----------------------------------------------------"
if [ ! -f /etc/apache2/sites-available/airtime ]; then if [ ! -f /etc/apache2/sites-available/airtime ]; then
echo "Creating Apache config for Airtime..." echo "Creating Apache config for Airtime..."
cp $SCRIPTPATH/../apache/airtime-vhost /etc/apache2/sites-available/airtime
if [ "$dist" = "Ubuntu" -a "$code" = "saucy" ]; then if [ "$dist" = "Ubuntu" -a "$code" = "saucy" ]; then
cp $SCRIPTPATH/../apache/airtime-vhost /etc/apache2/sites-available/airtime.conf
a2dissite 000-default a2dissite 000-default
else else
cp $SCRIPTPATH/../apache/airtime-vhost /etc/apache2/sites-available/airtime
a2dissite default a2dissite default
fi fi
a2ensite airtime a2ensite airtime