From a4d8df71b1945680f04846e572ed1ebf7d6db305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosme=20Dom=C3=ADnguez=20D=C3=ADaz?= Date: Sun, 27 Mar 2016 22:23:24 +0200 Subject: [PATCH] Don't assume that Apache is present when installing pandora-console Debian package. --- pandora_console/DEBIAN/postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora_console/DEBIAN/postinst b/pandora_console/DEBIAN/postinst index 4df605f528..4463c9762f 100755 --- a/pandora_console/DEBIAN/postinst +++ b/pandora_console/DEBIAN/postinst @@ -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 chown www-data /var/www/pandora_console -R +if [ -f /etc/init.d/apache2 ]; then echo Restart the apache. /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."