[Pkg-ocaml-maint-commits] [SCM] approx upstream and debian packaging branch, master, updated. debian/4.3-1-13-g2d977be
Eric Cooper
ecc at cmu.edu
Wed Jul 14 04:52:25 UTC 2010
The following commit has been merged in the master branch:
commit 5195b926dc48236d971c02bc3addc71a143cf5d3
Author: Eric Cooper <ecc at cmu.edu>
Date: Wed Jul 14 00:18:02 2010 -0400
simplify creation of /var/cache/approx in postinst
diff --git a/debian/approx.postinst b/debian/approx.postinst
index 915fc1a..300e460 100644
--- a/debian/approx.postinst
+++ b/debian/approx.postinst
@@ -8,13 +8,7 @@ case "$1" in
esac
# add the approx user
-adduser --quiet --system --group --no-create-home --home /var/cache/approx approx
-
-# create the approx cache directory if necessary
-if [ ! -d /var/cache/approx ]; then
- mkdir /var/cache/approx
- chown approx:approx /var/cache/approx
-fi
+adduser --quiet --system --group --home /var/cache/approx approx
# first remove any "vanilla" entry from /etc/inetd.conf
update-inetd --remove '^(\d|\w)+\s.*\bapprox\b'
--
approx upstream and debian packaging
More information about the Pkg-ocaml-maint-commits
mailing list