1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

Added a ynh_die on unzip command

This commit is contained in:
Olivier BILHAUT 2018-01-25 17:26:35 +01:00 committed by Jeff
parent 0327329871
commit 8f853dcc9e

View file

@ -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