23 lines
397 B
Bash
23 lines
397 B
Bash
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
# remove obsolete timer
|
|
test -L /etc/systemd/system/timers.target.wants/prometheus-entrouvert-exporter.timer && systemctl disable prometheus-entrouvert-exporter.timer
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure|triggered)
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|