3 # Abort if any command returns an error value
6 # This script is called as the last step of the installation of the
7 # package. All the package's files are in place, dpkg has already
8 # done its automatic conffile handling, and all the packages we depend
9 # of are already fully installed and configured.
11 # The following idempotent stuff doesn't generally need protecting
12 # against being run in the abort-* cases.
14 # Use debconf. (installs templates)
15 .
/usr
/share
/debconf
/confmodule
16 # all done with debconf here.
21 # We don't print a status message here, as dpkg already said
22 # "Processing triggers for ...".
27 # remove the systemd watchdog mux socket service
28 # as watchdog-mux should handle this on it's own
29 if [ -e /etc
/systemd
/system
/sockets.target.wants
/watchdog-mux.socket
]; then
30 rm -f /etc
/systemd
/system
/sockets.target.wants
/watchdog-mux.socket
31 rm -f /var
/lib
/systemd
/deb-systemd-helper-enabled
/sockets.target.wants
/watchdog-mux.socket
32 rm -f /var
/lib
/systemd
/deb-systemd-helper-enabled
/watchdog-mux.socket.dsh-also
33 systemctl daemon-reload
38 abort-upgrade|abort-remove|abort-deconfigure
)
43 echo "postinst called with unknown argument \`$1'" >&2
49 # dh_installdeb will replace this with shell code automatically
50 # generated by other debhelper scripts.