[med-svn] r4980 - trunk/packages/gnumed-client/trunk/debian
Andreas Tille
tille at alioth.debian.org
Fri Jul 2 07:01:10 UTC 2010
Author: tille
Date: 2010-07-02 07:01:04 +0000 (Fri, 02 Jul 2010)
New Revision: 4980
Added:
trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.prerm
Removed:
trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.postrm
Modified:
trunk/packages/gnumed-client/trunk/debian/changelog
trunk/packages/gnumed-client/trunk/debian/control
Log:
Make sure that adduser is really installed when it is needed to delete previousely created group gnumed
Modified: trunk/packages/gnumed-client/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/changelog 2010-07-01 20:21:30 UTC (rev 4979)
+++ trunk/packages/gnumed-client/trunk/debian/changelog 2010-07-02 07:01:04 UTC (rev 4980)
@@ -1,3 +1,16 @@
+gnumed-client (0.7.6-2) unstable; urgency=low
+
+ * Moved Pre-Depends: adduser from gnumed-common to Depends
+ gnumed-client-de (actually it is only used to clean up previosely
+ introduced group gnumed and should be removed after next release
+ cycle)
+ * Move delgroup call for cleaning up now unused group from
+ debian/gnumed-client-de.postrm to debian/gnumed-client-de.prerm
+ to make sure adduser really is installed at the time of calling
+ Closes: #586200
+
+ -- Andreas Tille <tille at debian.org> Fri, 02 Jul 2010 08:38:18 +0200
+
gnumed-client (0.7.6-1) unstable; urgency=low
* New upstream version
Modified: trunk/packages/gnumed-client/trunk/debian/control
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/control 2010-07-01 20:21:30 UTC (rev 4979)
+++ trunk/packages/gnumed-client/trunk/debian/control 2010-07-02 07:01:04 UTC (rev 4980)
@@ -44,7 +44,7 @@
Package: gnumed-client-de
Architecture: all
-Depends: gnumed-client (= ${source:Version}), ${misc:Depends}, libchipcard-tools
+Depends: gnumed-client (= ${source:Version}), ${misc:Depends}, libchipcard-tools, adduser
Recommends: wgerman-medical, hunspell-de-med
Suggests: libctapimkt0
Description: medical practice management - Client for German users
@@ -57,7 +57,6 @@
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, python-psycopg2 (>= 2.0.8), python-egenix-mxdatetime
Provides: ${python:Provides}
-Pre-Depends: adduser
Description: medical practice management - common files
This is the GNUmed Electronic Medical Record. Its purpose is
to enable doctors to keep a medically sound record on their
Deleted: trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.postrm
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.postrm 2010-07-01 20:21:30 UTC (rev 4979)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.postrm 2010-07-02 07:01:04 UTC (rev 4980)
@@ -1,51 +0,0 @@
-#!/bin/sh
-# postrm script for gnumed-client-de
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <overwriter>
-# <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-PROG=gnumed
-GROUP=${PROG}
-
-KVKDIR=/var/spool/kvkd/
-
-case "$1" in
- purge)
- TESTGROUP=`getent group ${GROUP}` || true
- if [ ! -z "${TESTGROUP}" ] ; then
- delgroup "${GROUP}" >/dev/null
- fi
-
- if [ -d "$KVKDIR" ] ; then
- rm -rf "$KVKDIR"
- fi
- ;;
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
Added: trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.prerm
===================================================================
--- trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.prerm (rev 0)
+++ trunk/packages/gnumed-client/trunk/debian/gnumed-client-de.prerm 2010-07-02 07:01:04 UTC (rev 4980)
@@ -0,0 +1,38 @@
+#!/bin/sh
+# prerm script for gnumed-client-de
+#
+# see: dh_installdeb(1)
+
+set -e
+
+PROG=gnumed
+GROUP=${PROG}
+
+KVKDIR=/var/spool/kvkd/
+
+case "$1" in
+ purge)
+ TESTGROUP=`getent group ${GROUP}` || true
+ if [ ! -z "${TESTGROUP}" ] ; then
+ delgroup "${GROUP}" >/dev/null
+ fi
+
+ if [ -d "$KVKDIR" ] ; then
+ rm -rf "$KVKDIR"
+ fi
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
More information about the debian-med-commit
mailing list