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