From a1d30452e5881c9b403f65f02f77936e2db5019a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 9 Dec 2021 12:11:48 +0100 Subject: [PATCH] Fix --- check_process | 6 +++--- manifest.json | 4 ++-- scripts/change_url | 4 ---- scripts/restore | 3 +-- 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/check_process b/check_process index 788f498..6c257c7 100644 --- a/check_process +++ b/check_process @@ -1,8 +1,8 @@ ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) + domain="domain.tld" + path="/path" + admin="john" ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/manifest.json b/manifest.json index 34a6917..4f30601 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "syncthing", "packaging_format": 1, "description": { - "en": "Continuous file synchronization program.", - "fr": "Programme de synchronisation de fichiers en continu." + "en": "Continuous file synchronization program", + "fr": "Programme de synchronisation de fichiers en continu" }, "version": "1.18.5~ynh1", "url": "https://syncthing.net/", diff --git a/scripts/change_url b/scripts/change_url index d6bb455..ff22c50 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -29,10 +29,6 @@ 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) -# Add settings here as needed by your application -#db_name=$(ynh_app_setting_get --app=$app --key=db_name) -#db_user=$db_name -#db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd) gui_port=$(ynh_app_setting_get --app=$app --key=gui_port) #================================================= diff --git a/scripts/restore b/scripts/restore index c7a2f0b..c327c7c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -38,8 +38,7 @@ sync_port=$(ynh_app_setting_get --app=$app --key=sync_port) #================================================= ynh_script_progression --message="Validating restoration parameters..." -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS