From 95bea7c4a0ef1fff2bfdcd2424de4531fb3460f8 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 9 Jan 2021 15:46:59 +0100 Subject: [PATCH] Fix --- manifest.json | 8 ++++++-- scripts/change_url | 4 ++-- scripts/remove | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index e0db8d7..6e03eda 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "id": "halcyon", "packaging_format": 1, "description": { - "en": "Webclient for Mastodon and Pleroma which looks like Twitter.", - "fr": "Client web pour Mastodon et Pleroma ressemblent à Twitter." + "en": "Webclient for Mastodon and Pleroma.", + "fr": "Client web pour Mastodon et Pleroma." }, "version": "2.4.9~ynh1", "url": "https://notabug.org/halcyon-suite/halcyon", @@ -39,6 +39,10 @@ "en": "Is it a public application?", "fr": "Est-ce une application publique ?" }, + "help": { + "en": "If enabled, Halcyon will be accessible by people who do not have an account. This can be changed later via the webadmin.", + "fr": "Si cette case est cochée, Halcyon sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." + }, "default": true }, { diff --git a/scripts/change_url b/scripts/change_url index 179858e..161b84f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -86,7 +86,7 @@ ynh_replace_string "$old_domain" "$new_domain" "$final_path/config/config.ini" # Set permissions to app files chown -R $app: $final_path -chmod -R 777 $final_path/data +chmod -R 755 $final_path/data ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. @@ -99,7 +99,7 @@ ynh_store_file_checksum "$final_path/config/config.ini" #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading nginx web server..." --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/remove b/scripts/remove index ce8d1e4..aa88ffd 100755 --- a/scripts/remove +++ b/scripts/remove @@ -32,7 +32,7 @@ ynh_secure_remove --file="$final_path" #================================================= # REMOVE NGINX CONFIGURATION #================================================= -ynh_script_progression --message="Removing NGINX web server configuration..." --time --weight=1 +ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 # Remove the dedicated nginx config ynh_remove_nginx_config