From bd0d4aaa258962bac48070d2df1d1460b4bd5ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 26 Jul 2024 21:44:36 +0200 Subject: [PATCH] fix linter --- scripts/backup | 8 +------- scripts/remove | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/backup b/scripts/backup index 251bb1b..e6e6343 100755 --- a/scripts/backup +++ b/scripts/backup @@ -22,17 +22,11 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# SPECIFIC BACKUP -#================================================= -# BACKUP LOGROTATE +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/logrotate.d/$app" -#================================================= -# BACKUP SYSTEMD -#================================================= - ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= diff --git a/scripts/remove b/scripts/remove index dd28e46..97f40a1 100755 --- a/scripts/remove +++ b/scripts/remove @@ -60,8 +60,6 @@ ynh_script_progression --message="Removing various files..." --weight=6 ynh_secure_remove --file="/etc/matrix-$synapse_instance/app-service/$app.yaml" /opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh || ynh_die --message="Synapse can't restart with the appservice configuration" -# Remove the log files - #================================================= # END OF SCRIPT #=================================================