diff options
author | damiano | 1999-04-26 15:26:06 +0000 |
---|---|---|
committer | damiano | 1999-04-26 15:26:06 +0000 |
commit | 4782c96923bd5cc9b072b0e672f1420c93fd19dd (patch) | |
tree | 87bf5d3a26976e95c188a94f06f6019b1ccd98a7 /debian/postinst | |
parent | 0a462da394768938733d34b4ca724fb9260be51e (diff) | |
download | irbox-4782c96923bd5cc9b072b0e672f1420c93fd19dd.zip irbox-4782c96923bd5cc9b072b0e672f1420c93fd19dd.tar.gz irbox-4782c96923bd5cc9b072b0e672f1420c93fd19dd.tar.bz2 irbox-4782c96923bd5cc9b072b0e672f1420c93fd19dd.tar.xz |
Debianisation
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 24 |
1 files changed, 24 insertions, 0 deletions
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# |