mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
Local download
This commit is contained in:
parent
2d5850ca09
commit
2fe4a18b83
2 changed files with 6 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
|||
"url": "https://github.com/scith"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">> 2.4.0"
|
||||
"yunohost": ">> 2.7.0"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
|
@ -80,9 +80,10 @@ ynh_webpath_register $app $domain $path_url
|
|||
src_path=/var/www/$app
|
||||
sudo mkdir -p $src_path
|
||||
|
||||
# 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 || ynh_die "Problem uncompressing dolibarr zip file"
|
||||
# Download, unzip and copy source - TODO in local (temporarily) to speed up test process
|
||||
sudo wget -q ftp://srvnas.fhm.local/COMMUNS/INFORMATIQUE/dolibarr/dolibarr-6.0.4.zip -O dolibarr-${version}.zip
|
||||
#sudo wget -q https://github.com/Dolibarr/dolibarr/archive/${version}.zip -O dolibarr-${version}.zip
|
||||
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