aboutsummaryrefslogtreecommitdiff
path: root/debian/taler-merchant.postinst
blob: 5cc1a6ad1bfa9a85056385bfc915f6f86043f62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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