Fred Gleason 69b393c2e2 2021-05-17 Fred Gleason <fredg@paravelsystems.com>
* Added a 'make dep' target.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-05-17 10:18:35 -04:00

30 lines
613 B
Bash

#!/bin/sh
# postinst script for padpoint
case "$1" in
configure)
ldconfig
if test ! -e /etc/padpoint.conf ; then
cp /usr/share/doc/padpoint/padpoint.conf-sample /etc/padpoint.conf
fi
/bin/systemctl daemon-reload
/bin/systemctl enable padpoint
/bin/systemctl restart padpoint
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0