[Pkg-virtualbox-commits] [virtualbox-ext-pack] 01/01: Really fix 800034
Gianfranco Costamagna
locutusofborg-guest at moszumanska.debian.org
Thu Oct 15 13:31:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
locutusofborg-guest pushed a commit to branch master
in repository virtualbox-ext-pack.
commit abfb9f000190656a1991c09b2a777dfbc5491290
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Thu Oct 15 15:30:46 2015 +0200
Really fix 800034
---
debian/changelog | 7 +++++++
debian/prerm | 9 +++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e20c737..5d9bb50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+virtualbox-ext-pack (5.0.6-3) unstable; urgency=medium
+
+ * Force extpack uninstall (Closes: #800034).
+ - this is an issue e.g. in chroots or live builds.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Thu, 15 Oct 2015 15:29:11 +0200
+
virtualbox-ext-pack (5.0.6-2) unstable; urgency=medium
* Initial portuguese translation (Closes: #800839)
diff --git a/debian/prerm b/debian/prerm
index 88b5a4b..f272abf 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -1,8 +1,13 @@
#!/bin/sh
set -e
-vboxmanage extpack uninstall --force "Oracle VM VirtualBox Extension Pack"
-vboxmanage extpack cleanup
+if [ -c /dev/vboxdrv ]; then
+ vboxmanage extpack uninstall --force "Oracle VM VirtualBox Extension Pack"
+ vboxmanage extpack cleanup
+else
+ echo "you seem to be not running the vboxdrv kernel module, the extpack uninstall will be forced."
+fi
+
rm /usr/share/virtualbox-ext-pack/*.vbox-extpack 1>/dev/null 2>&1 # Maybe we should specify the file like in the postinst?
#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git
More information about the Pkg-virtualbox-commits
mailing list