From 2f732869dd3ecab49260b3f24a7c63f503a504e3 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 16 Mar 2016 08:45:28 +0100 Subject: [PATCH] Added Apache config file copying in case not new Apache --- BuildFiles/Packaging/templates/postinst-frontend.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BuildFiles/Packaging/templates/postinst-frontend.template b/BuildFiles/Packaging/templates/postinst-frontend.template index b1449770..c2450593 100644 --- a/BuildFiles/Packaging/templates/postinst-frontend.template +++ b/BuildFiles/Packaging/templates/postinst-frontend.template @@ -46,6 +46,11 @@ if [ ! -e /var/lib/swarmops/upload ]; then esac + else + +# # Copying the unactivated Swarmops config to sites-available (option 3 above) + cp /usr/share/swarmops/frontend/apache-default-config.txt /etc/apache2/sites-available/swarmops.conf + fi fi