projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e1743
)
Make sure we own /var/spool/onak (Debian packaging)
author
Jonathan McDowell
<noodles@earth.li>
Sun, 4 Mar 2007 19:27:46 +0000
(19:27 +0000)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index f821f40ed00cc879ddc3bb9f31ef415b0868632d..b5215285c87acf832970271cbeb8d9d59e36d629 100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-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