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,13 +13,13 @@
|
||||||
"url": "https://github.com/scith"
|
"url": "https://github.com/scith"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">> 2.4.0"
|
"yunohost": ">> 2.7.0"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php5-fpm",
|
"php5-fpm",
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"install" : [
|
"install" : [
|
||||||
|
|
|
@ -80,9 +80,10 @@ ynh_webpath_register $app $domain $path_url
|
||||||
src_path=/var/www/$app
|
src_path=/var/www/$app
|
||||||
sudo mkdir -p $src_path
|
sudo mkdir -p $src_path
|
||||||
|
|
||||||
# Download, unzip and copy source
|
# Download, unzip and copy source - TODO in local (temporarily) to speed up test process
|
||||||
sudo wget -q https://github.com/Dolibarr/dolibarr/archive/${version}.zip -O dolibarr-${version}.zip
|
sudo wget -q ftp://srvnas.fhm.local/COMMUNS/INFORMATIQUE/dolibarr/dolibarr-6.0.4.zip -O dolibarr-${version}.zip
|
||||||
sudo unzip -qq dolibarr-${version}.zip || ynh_die "Problem uncompressing dolibarr zip file"
|
#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
|
sudo cp -a dolibarr-${version}/. $src_path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue