diff --git a/manifest.json b/manifest.json index 4c864be..b3dde7a 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "email": "maxime.bugeia@gmail.com" }], "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": false, "services": [ diff --git a/scripts/upgrade b/scripts/upgrade index e8e797d..23933b2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=7 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/config.js" fi #================================================= @@ -142,9 +142,6 @@ ynh_add_systemd_config # UPGRADE HASTE CONFIGURATION #================================================= -# Define app's data directory -ynh_add_config --template="../conf/config.js" --destination="$final_path/config.js" - # Replace ajax.googleapis by local file cp ../sources/jquery.min.js "$final_path/static/jquery.min.js"