Bug#299910: prerm failure risk
sferriol
sferriol <sferriol@free.fr>, 299910@bugs.debian.org
Thu, 17 Mar 2005 11:27:03 +0100
This is a multi-part message in MIME format.
--------------090201040308010207010708
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Package: gdm
Version: 2.6.0.6
Severity: minor
Tags: patch
if the question shared/default-x-display-manager do not exist => prerm
failed
with the patch dpkg -P gdm works
sylvain
--------------090201040308010207010708
Content-Type: text/x-patch;
name="gdm_sferriol.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="gdm_sferriol.patch"
--- debian/prerm 2005-03-17 11:21:36.000000000 +0100
+++ debian/prerm~ 2005-03-17 11:06:36.000000000 +0100
@@ -18,7 +18,7 @@
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
# disown this question
- db_unregister shared/default-x-display-manager || true
+ db_unregister shared/default-x-display-manager
# does the question still exist?
if db_get shared/default-x-display-manager; then
db_metaget shared/default-x-display-manager owners
--------------090201040308010207010708--