summaryrefslogtreecommitdiff
path: root/debian/anastasis-httpd.prerm
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-30 10:38:27 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-30 10:38:27 +0200
commit7e669bcf6b6336ec429da949bcb4aa456971dba2 (patch)
treed19912f950d1cac1c38b857b7d5bdaba2289544e /debian/anastasis-httpd.prerm
downloadanastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.tar.gz
anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.tar.bz2
anastasis-7e669bcf6b6336ec429da949bcb4aa456971dba2.zip
folding history in preparation of GNU Anastasis v0.0.0 release
Diffstat (limited to 'debian/anastasis-httpd.prerm')
-rw-r--r--debian/anastasis-httpd.prerm16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/anastasis-httpd.prerm b/debian/anastasis-httpd.prerm
new file mode 100644
index 0000000..570b20f
--- /dev/null
+++ b/debian/anastasis-httpd.prerm
@@ -0,0 +1,16 @@
+#!/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 anastasis "$@"
+fi
+
+db_stop
+exit 0