From a68238a55d284076d5938ae2d4a859c5eac32e7c Mon Sep 17 00:00:00 2001 From: guillaume bouzige Date: Mon, 12 Dec 2022 18:24:06 +0100 Subject: [PATCH] solve issues in CI --- conf/app.src | 3 +-- manifest.json | 4 ++-- scripts/change_url | 2 +- scripts/upgrade | 1 + 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/app.src b/conf/app.src index 527af50..1f1fd69 100644 --- a/conf/app.src +++ b/conf/app.src @@ -3,5 +3,4 @@ SOURCE_SUM=56ea654ce68a58c124c314753724eaa27606f8e99cc4ed0de546499fd241c912 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=PLATEAU-2.0.0b -SOURCE_EXTRACT=true +SOURCE_FILENAME= diff --git a/manifest.json b/manifest.json index 9363136..9f36da4 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "plateau", "packaging_format": 1, "description": { - "en": "Plateau helps designers organize and document participatory workshops.", - "fr": "Plateau aide les designers a organiser et documenter des ateliers participatifs." + "en": "Helps designers organize and document participatory workshops.", + "fr": "Aide les designers a organiser et documenter des ateliers participatifs." }, "version": "1.0~ynh1", "url": "https://plateau.latelier-des-chercheurs.fr/", diff --git a/scripts/change_url b/scripts/change_url index 7aca5d8..c8fa7ec 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -28,7 +28,7 @@ ynh_script_progression --message="Loading installation settings..." # Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get --app=$app --key=final_path) - +port=$(ynh_app_setting_get --app=$app --key=port) # Add settings here as needed by your application #db_name=$(ynh_app_setting_get --app=$app --key=db_name) #db_user=$db_name diff --git a/scripts/upgrade b/scripts/upgrade index 2d5a394..c81f007 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -163,6 +163,7 @@ ynh_script_progression --message="Updating a configuration file..." ### ### The file will automatically be backed-up if it's found to be manually modified (because ### ynh_add_config keeps track of the file's checksum) +ynh_secure_remove --file="$final_path/settings_base.json" ynh_add_config --template="../conf/settings_base.json" --destination="$final_path/settings_base.json"