mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
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:
29
debian/postinst
vendored
Normal file
29
debian/postinst
vendored
Normal 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
|
||||
Reference in New Issue
Block a user