diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-01 20:43:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-01 20:43:59 +0100 |
commit | 90d4bc9519507c64ad5c0a604140fcf00a9702ee (patch) | |
tree | 4442b78765bf974190b84476031b9a562c86c078 /debian/taler-exchange.prerm | |
parent | cd9220b187d97a52a8cc3179dc8d3b06d25f942a (diff) | |
download | exchange-90d4bc9519507c64ad5c0a604140fcf00a9702ee.tar.xz |
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.prerm | 17 |
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 |