From 2ffb04d312ca5683afc786a24b99222cfb47078d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 28 Aug 2021 01:38:46 +0200 Subject: [PATCH] Fix --others_var --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index d7e3785..6ed4dd5 100644 --- a/scripts/install +++ b/scripts/install @@ -225,6 +225,6 @@ sleep 2 # Add fail2ban ynh_script_progression --message="Configuring fail2ban..." --weight=10 -ynh_add_fail2ban_config --use_template --others_var 'final_path' +ynh_add_fail2ban_config --use_template ynh_script_progression --message="Installation of $app completed" --last diff --git a/scripts/upgrade b/scripts/upgrade index 585b0b4..f98aef1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -298,7 +298,7 @@ ynh_use_logrotate --logfile $final_path/logs --nonappend # Add fail2ban ynh_script_progression --message="Configuring fail2ban..." --weight=10 -ynh_add_fail2ban_config --use_template --others_var 'final_path' +ynh_add_fail2ban_config --use_template ynh_script_progression --message="Configuring permissions..." --weight=1 ynh_legacy_permissions_delete_all