From 51677363e908dceb1f7148127a51e0489f17f4b2 Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Wed, 3 Jun 2020 15:17:53 +0200 Subject: [PATCH] phpide-d10 --- debian/verleihnix.postinst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/verleihnix.postinst b/debian/verleihnix.postinst index 4f72e56..9f30658 100755 --- a/debian/verleihnix.postinst +++ b/debian/verleihnix.postinst @@ -37,6 +37,11 @@ fi # Apache configuration sctl=$(which systemctl) || sctl=$(which sysd2sysv) || (echo "install sysd2sysv"; exit 1) -a2ensite verleihnix +# activate verleihnix configuration +if ! test -e /etc/apache2/sites-enabled/verleihnix.conf +then + ln -s /etc/apache2/sites-available/verleihnix.conf /etc/apache2/sites-enabled + echo "verleihnix-apache2 configration enabled" +fi $sctl reload apache2 -- 2.20.1