[pkg-boinc-commits] r453 - trunk/boinc/debian
Frank S. Thomas
fst-guest at costa.debian.org
Tue Jun 13 10:02:15 UTC 2006
Author: fst-guest
Date: 2006-06-13 10:02:14 +0000 (Tue, 13 Jun 2006)
New Revision: 453
Modified:
trunk/boinc/debian/boinc-client.postinst
trunk/boinc/debian/changelog
Log:
Fixed #372950.
Modified: trunk/boinc/debian/boinc-client.postinst
===================================================================
--- trunk/boinc/debian/boinc-client.postinst 2006-06-13 08:48:33 UTC (rev 452)
+++ trunk/boinc/debian/boinc-client.postinst 2006-06-13 10:02:14 UTC (rev 453)
@@ -17,8 +17,14 @@
case "$1" in
configure)
+ # Create boinc group if it doesn't already exist.
+ if ! getent group boinc >/dev/null; then
+ addgroup --quiet --system boinc
+ fi
+
+ # Create boinc user if it doesn't already exist.
if ! getent passwd boinc >/dev/null; then
- adduser --quiet --system --group --home $BOINC_DIR \
+ adduser --quiet --system --ingroup boinc --home $BOINC_DIR \
--gecos "BOINC core client" boinc
fi
Modified: trunk/boinc/debian/changelog
===================================================================
--- trunk/boinc/debian/changelog 2006-06-13 08:48:33 UTC (rev 452)
+++ trunk/boinc/debian/changelog 2006-06-13 10:02:14 UTC (rev 453)
@@ -20,8 +20,11 @@
added libcurl-ssl-dev as alternative for the libcurl3-openssl-dev build
dependency. These changes aid in backporting BOINC to sarge. Thanks to
Robert Millan for the patch. (closes: #373089)
+ * debian/boinc-client.postinst:
+ - Make sure that the group boinc exists before trying to create the user
+ boinc. Thanks to Christoph Martin for the report. (closes: #372950)
- -- Frank S. Thomas <frank at thomas-alfeld.de> Tue, 13 Jun 2006 10:47:30 +0200
+ -- Frank S. Thomas <frank at thomas-alfeld.de> Tue, 13 Jun 2006 12:00:49 +0200
boinc (5.4.9-1) unstable; urgency=low
More information about the pkg-boinc-commits
mailing list