[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622192: pu: package softhsm/1.1.4-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu

Hi,

this is similar problem with reversed group removal and dpkg-statoverride removal.

The patch is very simple:

diff --git a/debian/softhsm-common.postrm b/debian/softhsm-common.postrm
index b38ed33..eb0c1a3 100644
--- a/debian/softhsm-common.postrm
+++ b/debian/softhsm-common.postrm
@@ -10,9 +10,6 @@ unset_perms() {
 case "$1" in
     purge)
 
-       # delete old group
-       delgroup --quiet softhsm > /dev/null || true
-
        unset_perms /etc/softhsm
        unset_perms /var/lib/softhsm
 
@@ -33,6 +30,9 @@ case "$1" in
            ucfr --purge softhsm /etc/softhsm/softhsm.conf
        fi
 
+       # delete old group
+       delgroup --quiet softhsm > /dev/null || true
+
     ;;
 
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)


Regards,
Ondrej

-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick-proposed'), (500, 'maverick-backports'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-28-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: