X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/66304157dfff0eccdf3bd2374a5ba6b2d84f6c12..refs/heads/master:/debian/mdjango.postinst diff --git a/debian/mdjango.postinst b/debian/mdjango.postinst index e6448d1..f68df99 100755 --- a/debian/mdjango.postinst +++ b/debian/mdjango.postinst @@ -3,9 +3,9 @@ set -e # apache2 settings a2ensite mysite -systemctl reload apache2 # set locale for UTF-8 handling sed -i "s!^.*\. /etc/default/locale!\. /etc/default/locale!" /etc/apache2/envvars +systemctl restart apache2 # check addition to settings if ! grep "### MDJANGO ###" /opt/mysite/mysite/settings.py >/dev/null