summaryrefslogtreecommitdiff
path: root/debian/taler-exchange.prerm
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:59 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-01 20:43:59 +0100
commit90d4bc9519507c64ad5c0a604140fcf00a9702ee (patch)
tree4442b78765bf974190b84476031b9a562c86c078 /debian/taler-exchange.prerm
parentcd9220b187d97a52a8cc3179dc8d3b06d25f942a (diff)
downloadexchange-90d4bc9519507c64ad5c0a604140fcf00a9702ee.tar.gz
exchange-90d4bc9519507c64ad5c0a604140fcf00a9702ee.tar.bz2
exchange-90d4bc9519507c64ad5c0a604140fcf00a9702ee.zip
work on Debian package: extend pre-configuration, add reverse proxy setup logic, add database setup logic (untested)
Diffstat (limited to 'debian/taler-exchange.prerm')
-rw-r--r--debian/taler-exchange.prerm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/taler-exchange.prerm b/debian/taler-exchange.prerm
new file mode 100644
index 000000000..88a747cb7
--- /dev/null
+++ b/debian/taler-exchange.prerm
@@ -0,0 +1,17 @@
+#!/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-exchange "$@"
+fi
+
+db_stop
+exit 0 \ No newline at end of file