diff --git a/BuildFiles/Packaging/templates/preinst-frontend.template b/BuildFiles/Packaging/templates/preinst-frontend.template index 30276580..3c781403 100644 --- a/BuildFiles/Packaging/templates/preinst-frontend.template +++ b/BuildFiles/Packaging/templates/preinst-frontend.template @@ -5,7 +5,7 @@ # installer to just bloody hang.) if [ ! -e /etc/swarmops/database.config ]; then - if [ ! -e /etc/init.d/apache2 ]; then + if [ -e /etc/init.d/apache2 ]; then if /etc/init.d/apache2 status > /dev/null; then # Set a flag to postinst to restart Apache echo foo > /tmp/swarmops-restart-apache.flag