r700 - in /trunk/boinc/debian: boinc-client.postrm changelog
fst-guest at users.alioth.debian.org
fst-guest at users.alioth.debian.org
Fri Aug 31 10:41:16 UTC 2007
Author: fst-guest
Date: Fri Aug 31 10:41:16 2007
New Revision: 700
URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=700
Log:
debian/boinc-client.postrm: Use the --system option for deluser/delgroup
to ensure that we are removing system accounts only and mask the
deluser/delgroup calls because adduser is not essential and we can't rely
on non-essential packages to be present during the purge phase. This would
be a Policy violation, see section 7.2.
Modified:
trunk/boinc/debian/boinc-client.postrm
trunk/boinc/debian/changelog
Modified: trunk/boinc/debian/boinc-client.postrm
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/boinc-client.postrm?rev=700&op=diff
==============================================================================
--- trunk/boinc/debian/boinc-client.postrm (original)
+++ trunk/boinc/debian/boinc-client.postrm Fri Aug 31 10:41:16 2007
@@ -16,10 +16,20 @@
rm -r $BOINC_DIR
fi
if getent passwd boinc >/dev/null; then
- deluser boinc
+ if [ -x "`which deluser 2>/dev/null`" ]; then
+ deluser --system boinc
+ else
+ echo >&2 "Not removing \`boinc' system account" \
+ "because deluser command was not found."
+ fi
fi
if getent group boinc >/dev/null; then
- delgroup boinc
+ if [ -x "`which delgroup 2>/dev/null`" ]; then
+ delgroup --system boinc
+ else
+ echo >&2 "Not removing \`boinc' system group" \
+ "because delgroup command was not found."
+ fi
fi
}
Modified: trunk/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/changelog?rev=700&op=diff
==============================================================================
--- trunk/boinc/debian/changelog (original)
+++ trunk/boinc/debian/changelog Fri Aug 31 10:41:16 2007
@@ -19,14 +19,19 @@
- Changed the BOINC platform on kfreebsd-i386 from i486-pc-kfreebsd-gnu to
i686-pc-kfreebsd-gnu to be consistent with the platform name for i386
and made i686-pc-kfreebsd-gnu an alternate platform for
- x86_64-pc-kfreebsd-gnu.
+ x86_64-pc-kfreebsd-gnu.
+ * debian/boinc-client.postrm: Use the --system option for deluser/delgroup
+ to ensure that we are removing system accounts only and mask the
+ deluser/delgroup calls because adduser is not essential and we can't rely
+ on non-essential packages to be present during the purge phase. This would
+ be a Policy violation, see section 7.2.
[ Debconf translations ]
* Added Spanish (es.po) by Javier Fernández-Sanguino Peña
<jfs at computer.org>. (closes: #437379)
* Added Slovak (sk.po) by helix84 <helix84 at centrum.sk>. (closes: #437670)
- -- Frank S. Thomas <frank at thomas-alfeld.de> Fri, 24 Aug 2007 17:47:16 +0200
+ -- Frank S. Thomas <frank at thomas-alfeld.de> Fri, 31 Aug 2007 12:32:38 +0200
boinc (5.10.8-1) unstable; urgency=low
More information about the pkg-boinc-commits
mailing list