[SCM] BOINC packaging branch, master, updated. debian/6.10.17+dfsg-3-131-g4604590
Steffen Moeller
moeller at debian.org
Fri Dec 31 16:46:23 UTC 2010
The following commit has been merged in the master branch:
commit 634c826c9b554aee984c7b9f8c80567c3f220c09
Author: Steffen Moeller <moeller at debian.org>
Date: Tue Dec 28 08:56:20 2010 +0100
Also adding user www-data to boincadm
diff --git a/debian/boinc-server.postinst b/debian/boinc-server.postinst
index 811239b..e42cd20 100644
--- a/debian/boinc-server.postinst
+++ b/debian/boinc-server.postinst
@@ -7,7 +7,16 @@ case "$1" in
configure)
# Create boincadm group if it doesn't already exist.
if ! getent group boincadm >/dev/null; then
- addgroup --quiet --system boincadm
+ if ! addgroup --quiet --system boincadm; then
+ echo "could not add group 'boincadm'"
+ exit 1
+ if
+ fi
+ if ! getent group | grep boincadm | grep -q www-data; then
+ if ! adduser www-data boincadm; then
+ echo "could not assing user 'www-data' to group 'boincadm'"
+ exit 1
+ fi
fi
;;
--
BOINC packaging
More information about the pkg-boinc-commits
mailing list