]> the.earth.li Git - onak.git/commitdiff
Make sure we own /var/spool/onak (Debian packaging)
authorJonathan McDowell <noodles@earth.li>
Sun, 4 Mar 2007 19:27:46 +0000 (19:27 +0000)
committerJonathan McDowell <noodles@earth.li>
Sun, 4 Mar 2007 19:27:46 +0000 (19:27 +0000)
chown onak /var/spool/onak in our postinst, so we can write incoming
mail files there.

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