mirror of
https://github.com/YunoHost-Apps/halcyon_ynh.git
synced 2024-09-03 20:36:21 +02:00
Fix
This commit is contained in:
parent
730baa5630
commit
95bea7c4a0
3 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue