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.postinst | |
parent | efe2ae3d1e13d0e1aa188503e030d481cebcc5c1 (diff) | |
download | merchant-d6890cadd38244f27eac901001eb0b2811d56412.tar.gz merchant-d6890cadd38244f27eac901001eb0b2811d56412.tar.bz2 merchant-d6890cadd38244f27eac901001eb0b2811d56412.zip |
initial logic for taler-merchant Debian package
Diffstat (limited to 'debian/taler-merchant.postinst')
-rw-r--r-- | debian/taler-merchant.postinst | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/taler-merchant.postinst b/debian/taler-merchant.postinst new file mode 100644 index 00000000..5cc1a6ad --- /dev/null +++ b/debian/taler-merchant.postinst @@ -0,0 +1,33 @@ +#!/bin/bash + +set -e + +. /usr/share/debconf/confmodule + +case "${1}" in + configure) + db_version 2.0 + + db_get taler-merchant/autostart + _AUTOSTART="${RET}" # boolean + + db_stop + + # Cleaning + echo "All done." + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |