]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - debian/postinst
Make sure we own /var/spool/onak (Debian packaging)
[onak.git] / debian / postinst
index f821f40ed00cc879ddc3bb9f31ef415b0868632d..b5215285c87acf832970271cbeb8d9d59e36d629 100644 (file)
@@ -14,8 +14,9 @@ if [ "$1" = "configure" ]; then
         zcat /usr/share/doc/onak/noodles.key | onak -b add
     fi
 
-    # Take ownership of the database directory
+    # Take ownership of the database and spool directory
     chown -R onak /var/lib/onak
+    chown -R onak /var/spool/onak
 
     # Create our logfile
     touch /var/log/onak.log