diff options
Diffstat (limited to 'debian/taler-merchant.postrm')
-rw-r--r-- | debian/taler-merchant.postrm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/taler-merchant.postrm b/debian/taler-merchant.postrm index bf628b36..a9a7cc05 100644 --- a/debian/taler-merchant.postrm +++ b/debian/taler-merchant.postrm | |||
@@ -13,4 +13,15 @@ fi | |||
13 | 13 | ||
14 | #DEBHELPER# | 14 | #DEBHELPER# |
15 | 15 | ||
16 | # When purging this package after the selections in the preinst have been made, | ||
17 | # the debconf database is left in an inconsistent state and the package cannot | ||
18 | # be installed again. This happens because dbconf-common will create a | ||
19 | # template for these questions with a shared owner. Purging will only delete | ||
20 | # one of the two templates, leading to a DB state where debconf-set-selections | ||
21 | # fails. We work around this by manually fixing up the debconf database. | ||
22 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487300 | ||
23 | if [ -x /usr/share/debconf/fix_db.pl ]; then | ||
24 | /usr/share/debconf/fix_db.pl | ||
25 | fi | ||
26 | |||
16 | exit 0 | 27 | exit 0 |