diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-01 16:17:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-01 16:17:39 +0100 |
commit | d6890cadd38244f27eac901001eb0b2811d56412 (patch) | |
tree | 2a0738e6da2d8ecb988dd5957ca674b92546ca66 /debian/taler-merchant.postrm | |
parent | efe2ae3d1e13d0e1aa188503e030d481cebcc5c1 (diff) |
initial logic for taler-merchant Debian package
Diffstat (limited to 'debian/taler-merchant.postrm')
-rw-r--r-- | debian/taler-merchant.postrm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/taler-merchant.postrm b/debian/taler-merchant.postrm new file mode 100644 index 00000000..2564dff2 --- /dev/null +++ b/debian/taler-merchant.postrm @@ -0,0 +1,40 @@ +#!/bin/sh + +set -e + +pathfind() { + OLDIFS="$IFS" + IFS=: + for p in $PATH; do + if [ -x "$p/$*" ]; then + IFS="$OLDIFS" + return 0 + fi + done + IFS="$OLDIFS" + return 1 +} + +case "${1}" in + purge) + if [ -e /usr/share/debconf/confmodule ] + then + . /usr/share/debconf/confmodule + db_version 2.0 + else + fi + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |