From 2411a0989068090eb509deb7ad41f22dce664241 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 31 Jan 2015 22:00:09 +0100 Subject: [PATCH] Embarrassing bugfix to preinst --- BuildFiles/Packaging/templates/preinst-frontend.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildFiles/Packaging/templates/preinst-frontend.template b/BuildFiles/Packaging/templates/preinst-frontend.template index 58eb8536..8925c106 100644 --- a/BuildFiles/Packaging/templates/preinst-frontend.template +++ b/BuildFiles/Packaging/templates/preinst-frontend.template @@ -4,7 +4,7 @@ # (It's very rude to shut down services without asking first like this, but even more rude of the lib-mod-mono # installer to just bloody hang.) -if [! -e /etc/swarmops/database.config ]; then +if [ ! -e /etc/swarmops/database.config ]; 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