From 4782c96923bd5cc9b072b0e672f1420c93fd19dd Mon Sep 17 00:00:00 2001 From: damiano Date: Mon, 26 Apr 1999 15:26:06 +0000 Subject: Debianisation --- debian/postinst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 debian/postinst (limited to 'debian/postinst') diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..75176e6 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,24 @@ +#!/bin/bash + +NC="/etc/irbox.conf" + +TWEAK="no" + +# only do this stuff if we're being called to configure a package +if [ "$1" != "configure" ] +then + exit 0 +fi + +# make sure we have an /etc/irbox.conf +if [ -f $NC ] +then + echo "An /etc/irbox.conf file already exists, and will be used to" + echo "configure irboxd. You may wish to review the contents of this" + echo "file for accuracy." + echo "" +else + start-stop-daemon --stop --quiet --exec /usr/bin/irbox +fi + +#DEBHELPER# -- cgit v1.1