2021-05-17 Fred Gleason <fredg@paravelsystems.com>

* Added a 'make dep' target.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-05-17 10:18:35 -04:00
parent 83f2bffa95
commit 69b393c2e2
14 changed files with 492 additions and 1 deletions

29
debian/postinst vendored Normal file
View File

@@ -0,0 +1,29 @@
#!/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