aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-merchant.prerm
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:30 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:30 +0100
commitbfbbb5f8182fa668a992fadd504e43daa31962a4 (patch)
tree453f9dd82da615694193fac28cb028173597d412 /debian/taler-merchant.prerm
parent9bc5229ff2dce91cd941538d7c1907fcd1597064 (diff)
improving Debian package (untested)
Diffstat (limited to 'debian/taler-merchant.prerm')
-rw-r--r--debian/taler-merchant.prerm18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/taler-merchant.prerm b/debian/taler-merchant.prerm
new file mode 100644
index 00000000..84d4c486
--- /dev/null
+++ b/debian/taler-merchant.prerm
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
+. /usr/share/dbconfig-common/dpkg/prerm
+
+if [ -f /usr/share/dbconfig-common/dpkg/prerm.pgsql ]; then
+ . /usr/share/dbconfig-common/dpkg/prerm.pgsql
+ dbc_go taler-merchant "$@"
+fi
+
+
+db_stop
+exit 0