[Pkg-virtualbox-commits] [virtualbox-ext-pack] 01/01: Fix upload
Gianfranco Costamagna
locutusofborg at moszumanska.debian.org
Wed Apr 19 17:23:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
locutusofborg pushed a commit to branch master
in repository virtualbox-ext-pack.
commit b159f2395e2914a0e640259b3d691c72c7c94588
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date: Wed Apr 19 19:13:27 2017 +0200
Fix upload
---
debian/changelog | 6 ++++++
debian/postinst | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 58db35a..edea1cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+virtualbox-ext-pack (5.1.20-2) unstable; urgency=medium
+
+ * Add accept-license keyword
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Wed, 19 Apr 2017 19:13:11 +0200
+
virtualbox-ext-pack (5.1.20-1) unstable; urgency=medium
* New upstream release, update postinst/rules.
diff --git a/debian/postinst b/debian/postinst
index 4f1bcba..0dd6807 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -4,7 +4,7 @@ set -e
version=5.1.20
hash=51e85e3792a5a435d88368a52a363321acdd913f4fb3c55cd623911d447ad148
file=Oracle_VM_VirtualBox_Extension_Pack-$version.vbox-extpack
-
+accept_license=715c7246dc0f779ceab39446812362b2f9bf64a55ed5d3a905f053cfab36da9e
error ()
{
echo "Hash mismatch $file: expected $hash"
@@ -20,7 +20,7 @@ if [ "$1" = "configure" ] ; then
echo "The file will be downloaded into /usr/share/virtualbox-ext-pack"
wget -q -N http://download.virtualbox.org/virtualbox/$version/$file
echo "$hash $file" | sha256sum -c > /dev/null 2>&1 || error
- vboxmanage extpack install --replace $file
+ vboxmanage extpack install --replace --accept-license=$accept_license $file
fi
#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