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:
parent
0327329871
commit
8f853dcc9e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue