[Pkg-virtualbox-commits] [virtualbox-ext-pack] 01/02: Error out in case of failure during installation

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Fri Nov 24 22:27:33 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 1b49f99b7308a37a427521bcddff1bf4e76440fa
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Nov 24 23:26:38 2017 +0100

    Error out in case of failure during installation
---
 debian/postinst.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst.in b/debian/postinst.in
index 0f43782..5eab49c 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -21,7 +21,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 --accept-license=$accept_license $file
+	vboxmanage extpack install --replace --accept-license=$accept_license $file || error
 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