]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - debian/postinst
Fix cleanup of statoverrides when purging package.
[onak.git] / debian / postinst
index c34d68e8e84f91854317bd19eca8e0ede57c7678..1252508da87606529c3608814fd66c2f280d6494 100644 (file)
@@ -10,6 +10,10 @@ if [ "$1" = "configure" ]; then
     # Take ownership of the database directory
     chown -R onak /var/lib/onak
 
     # Take ownership of the database directory
     chown -R onak /var/lib/onak
 
+    # Create our logfile
+    touch /var/log/onak.log
+    chown onak /var/log/onak.log
+
     # Make the CGI tools setuid onak
     for i in /usr/lib/cgi-bin/pks/*
     do
     # Make the CGI tools setuid onak
     for i in /usr/lib/cgi-bin/pks/*
     do