From 8f853dcc9e84c11185f513cd9aa092fd941a5ae8 Mon Sep 17 00:00:00 2001 From: Olivier BILHAUT Date: Thu, 25 Jan 2018 17:26:35 +0100 Subject: [PATCH] Added a ynh_die on unzip command --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 405dd0f..2d3dc6d 100644 --- a/scripts/install +++ b/scripts/install @@ -64,7 +64,7 @@ ynh_abort_if_errors # Download, unzip and copy source sudo wget -q https://github.com/Dolibarr/dolibarr/archive/${version}.zip -O dolibarr-${version}.zip - sudo unzip -qq dolibarr-${version}.zip + sudo unzip -qq dolibarr-${version}.zip || ynh_die "Problem uncompressing dolibarr zip file" sudo cp -a dolibarr-${version}/. $src_path