[Pkg-virtualbox-commits] [SCM] virtualbox Debian packaging branch, experimental, updated. debian/4.1.18-dfsg-2-39-gd51bd58
Felix Geyer
fgeyer at debian.org
Sun Mar 31 18:38:40 UTC 2013
The following commit has been merged in the experimental branch:
commit 371f2c382a689216269b135e7421eaf681e74b3a
Author: Felix Geyer <fgeyer at debian.org>
Date: Sun Mar 31 12:37:23 2013 +0200
Change runlevels of virtualbox-guest-x11 init script on upgrade.
diff --git a/debian/virtualbox-guest-x11.preinst b/debian/virtualbox-guest-x11.preinst
new file mode 100644
index 0000000..3d4bebd
--- /dev/null
+++ b/debian/virtualbox-guest-x11.preinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ install|upgrade)
+ if dpkg --compare-versions "$2" gt "4.1.22-dfsg" && dpkg --compare-versions "$2" lt "4.2.10-dfsg"; then
+ # hack to change runlevels from default to S
+ update-rc.d -f virtualbox-guest-x11 remove > /dev/null || true
+ fi
+ ;;
+esac
--
virtualbox Debian packaging
More information about the Pkg-virtualbox-commits
mailing list