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

Bug#299913: prerm failure risk



Package: kdm
Version: 3.3.2
Severity: minor
Tags: patch

if the question shared/default-x-display-manager do not exist => prerm failed

with the patch dpkg -P kdm works

sylvain


--- debian/kdm.prerm~	2005-03-17 07:49:06.000000000 +0100
+++ debian/kdm.prerm	2005-03-17 11:29:51.000000000 +0100
@@ -100,7 +100,7 @@
 if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
   if [ -n "$HAVE_DEBCONF" ]; then
     # disown this question
-    db_unregister shared/default-x-display-manager
+    db_unregister shared/default-x-display-manager || true
     # does the question still exist?
     if db_get shared/default-x-display-manager; then
       if db_metaget shared/default-x-display-manager owners; then

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: