diff options
Diffstat (limited to 'debian/taler-merchant.preinst')
-rw-r--r-- | debian/taler-merchant.preinst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/taler-merchant.preinst b/debian/taler-merchant.preinst index d1f67d88..dda68f09 100644 --- a/debian/taler-merchant.preinst +++ b/debian/taler-merchant.preinst | |||
@@ -13,9 +13,13 @@ set -e | |||
13 | # template for these questions with a shared owner. Purging will only delete | 13 | # template for these questions with a shared owner. Purging will only delete |
14 | # one of the two templates, leading to a DB state where debconf-set-selections | 14 | # one of the two templates, leading to a DB state where debconf-set-selections |
15 | # fails. We work around this by manually fixing up the debconf database. | 15 | # fails. We work around this by manually fixing up the debconf database. |
16 | # | ||
17 | # Unfortunately we can't do this in "postrm", because during "postrm" | ||
18 | # the configuration database is locked (even after db_stop). | ||
19 | # | ||
16 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487300 | 20 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487300 |
17 | if [ -x /usr/share/debconf/fix_db.pl ]; then | 21 | if [ -x /usr/share/debconf/fix_db.pl ]; then |
18 | /usr/share/debconf/fix_db.pl | 22 | /usr/share/debconf/fix_db.pl || true |
19 | fi | 23 | fi |
20 | 24 | ||
21 | echo taler-merchant taler-merchant/pgsql/method select Unix socket | debconf-set-selections | 25 | echo taler-merchant taler-merchant/pgsql/method select Unix socket | debconf-set-selections |