Don't assume that Apache is present when installing

pandora-console Debian package.
This commit is contained in:
Cosme Domínguez Díaz 2016-03-27 22:23:24 +02:00
parent ad71f09a4a
commit a4d8df71b1
1 changed files with 2 additions and 0 deletions

View File

@ -5,7 +5,9 @@ chmod -R u+rwX,g+rX,g-w,o-rwx /var/www/pandora_console
chgrp www-data /var/www/pandora_console -R chgrp www-data /var/www/pandora_console -R
chown www-data /var/www/pandora_console -R chown www-data /var/www/pandora_console -R
if [ -f /etc/init.d/apache2 ]; then
echo Restart the apache. echo Restart the apache.
/etc/init.d/apache2 restart /etc/init.d/apache2 restart
fi
echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it." echo "Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it."