diff --git a/manifest.json b/manifest.json index fd46543..485c3d5 100644 --- a/manifest.json +++ b/manifest.json @@ -13,13 +13,13 @@ "url": "https://github.com/scith" }, "requirements": { - "yunohost": ">> 2.4.0" + "yunohost": ">> 2.7.0" }, "multi_instance": true, "services": [ "nginx", "php5-fpm", - "mysql" + "mysql" ], "arguments": { "install" : [ diff --git a/scripts/install b/scripts/install index dd1b331..2a2ab96 100644 --- a/scripts/install +++ b/scripts/install @@ -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