From 90d4bc9519507c64ad5c0a604140fcf00a9702ee Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Jan 2021 20:43:59 +0100 Subject: work on Debian package: extend pre-configuration, add reverse proxy setup logic, add database setup logic (untested) --- debian/taler-exchange.prerm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/taler-exchange.prerm (limited to 'debian/taler-exchange.prerm') 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 -- cgit v1.2.3