From: Michael Wagner Date: Wed, 3 Jun 2020 13:17:53 +0000 (+0200) Subject: phpide-d10 X-Git-Tag: verleihnix_0.1-1~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=51677363e908dceb1f7148127a51e0489f17f4b2;p=projects.git phpide-d10 --- 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