[Pkg-jed-commit] r545 - jedstate/trunk/debian
Rafael Laboissiere
rafael at alioth.debian.org
Mon Feb 5 23:56:19 CET 2007
Author: rafael
Date: 2007-02-05 23:56:19 +0100 (Mon, 05 Feb 2007)
New Revision: 545
Added:
jedstate/trunk/debian/postinst
Modified:
jedstate/trunk/debian/changelog
Log:
Debian release jedstate_0.5.4.transitional.1-2
Modified: jedstate/trunk/debian/changelog
===================================================================
--- jedstate/trunk/debian/changelog 2007-02-05 22:23:50 UTC (rev 544)
+++ jedstate/trunk/debian/changelog 2007-02-05 22:56:19 UTC (rev 545)
@@ -1,3 +1,11 @@
+jedstate (0.5.4.transitional.1-2) unstable; urgency=low
+
+ * debian/postinst: Added code for deleting the obsolete configuration
+ file /etc/jed-init.d/99jedstate_hook.sl and removing that directory,
+ if empty.
+
+ -- Rafael Laboissiere <rafael at debian.org> Mon, 5 Feb 2007 23:47:17 +0100
+
jedstate (0.5.4.transitional.1-1) unstable; urgency=low
* Adoption by the Debian JED Group (closes: #385744)
Added: jedstate/trunk/debian/postinst
===================================================================
--- jedstate/trunk/debian/postinst 2007-02-05 22:23:50 UTC (rev 544)
+++ jedstate/trunk/debian/postinst 2007-02-05 22:56:19 UTC (rev 545)
@@ -0,0 +1,25 @@
+#!/bin/sh
+# postinst script for jedstate
+
+set -e
+
+case "$1" in
+ configure)
+ dir=/etc/jed-init.d
+ hook=99jedstate_hook.sl
+ test -f $dir/$hook && rm -f $dir/$hook
+ test -d $dir && rmdir --ignore-fail-on-non-empty $dir
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
More information about the Pkg-jed-commit
mailing list