[Pkg-xen-changes] r119 - trunk/xen-3.0/debian
Julien Danjou
acid at costa.debian.org
Fri Mar 17 13:42:10 UTC 2006
Author: acid
Date: 2006-03-17 13:42:09 +0000 (Fri, 17 Mar 2006)
New Revision: 119
Removed:
trunk/xen-3.0/debian/xen-utils-3.0.dirs
Modified:
trunk/xen-3.0/debian/rules
trunk/xen-3.0/debian/xen-utils-3.0.postinst
trunk/xen-3.0/debian/xen-utils-3.0.postrm
Log:
- remove /var/run/xenstored creation
(must be created by init.d script)
- handle known/unknown command in post* scripts
Modified: trunk/xen-3.0/debian/rules
===================================================================
--- trunk/xen-3.0/debian/rules 2006-03-16 14:28:26 UTC (rev 118)
+++ trunk/xen-3.0/debian/rules 2006-03-17 13:42:09 UTC (rev 119)
@@ -167,7 +167,6 @@
binary-arch: install-arch
dh_testdir
dh_testroot
- dh_installdirs -s
dh_installchangelogs -s
dh_installdocs -s
dh_installexamples -s
Deleted: trunk/xen-3.0/debian/xen-utils-3.0.dirs
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.dirs 2006-03-16 14:28:26 UTC (rev 118)
+++ trunk/xen-3.0/debian/xen-utils-3.0.dirs 2006-03-17 13:42:09 UTC (rev 119)
@@ -1 +0,0 @@
-var/run/xenstored
Modified: trunk/xen-3.0/debian/xen-utils-3.0.postinst
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.postinst 2006-03-16 14:28:26 UTC (rev 118)
+++ trunk/xen-3.0/debian/xen-utils-3.0.postinst 2006-03-17 13:42:09 UTC (rev 119)
@@ -12,9 +12,10 @@
[ ! -d "${XENSTORED_DIR}" ] && install -d -m 0700 "${XENSTORED_DIR}"
;;
-# abort-upgrade|abort-remove|abort-deconfigure)
- # Nothing to do because we didn't take any action in the prerm
- # ;;
+
+abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
@@ -23,3 +24,4 @@
#DEBHELPER#
+exit 0
Modified: trunk/xen-3.0/debian/xen-utils-3.0.postrm
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.postrm 2006-03-16 14:28:26 UTC (rev 118)
+++ trunk/xen-3.0/debian/xen-utils-3.0.postrm 2006-03-17 13:42:09 UTC (rev 119)
@@ -11,10 +11,17 @@
XENSTORED_DIR="/var/lib/xenstored"
[ -d "${XENSTORED_DIR}" ] && rm -r "${XENSTORED_DIR}"
- XENSTORED_RUNDIR="/var/run/xenstored"
- [ -d "${XENSTORED_RUNDIR}" ] && rm -fr "${XENSTORED_RUNDIR}"
;;
+remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+*)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit
+ ;;
esac
#DEBHELPER#
+
+exit 0
More information about the Pkg-xen-changes
mailing list