[Python-modules-commits] r23376 - in packages/celery/branches/wheezy/debian (1 file)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Wed Jan 23 20:11:01 UTC 2013
Date: Wednesday, January 23, 2013 @ 20:10:59
Author: fladi-guest
Revision: 23376
Leave group creation to adduser, thus simpilying the script.
Modified:
packages/celery/branches/wheezy/debian/python-celery.postinst
Modified: packages/celery/branches/wheezy/debian/python-celery.postinst
===================================================================
--- packages/celery/branches/wheezy/debian/python-celery.postinst 2013-01-23 20:07:55 UTC (rev 23375)
+++ packages/celery/branches/wheezy/debian/python-celery.postinst 2013-01-23 20:10:59 UTC (rev 23376)
@@ -4,11 +4,13 @@
case "$1" in
configure|reconfigure)
- getent group celery >/dev/null 2>&1 || \
- addgroup --system --quiet celery
- getent passwd celery >/dev/null 2>&1 || \
- adduser --system --quiet --disabled-password --disabled-login \
- --home /usr/share/pyshared/celery --no-create-home --ingroup celery celery
+ adduser \
+ --system \
+ --quiet \
+ --home /usr/share/pyshared/celery \
+ --no-create-home \
+ --group \
+ celery
;;
abort-upgrade|abort-remove|abort-deconfigure)
More information about the Python-modules-commits
mailing list