X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/0c72b47ad02572050f6df77b9a1a8a2775da22ff..refs/heads/master:/debian/mdjango.postinst?ds=sidebyside 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