From 3fffe46162052a7f5ef96e869fe8d49200590b39 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 28 Dec 2021 11:38:03 +0100 Subject: [PATCH] Update remove --- scripts/remove | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/remove b/scripts/remove index 5a05a7e..ee32533 100644 --- a/scripts/remove +++ b/scripts/remove @@ -82,6 +82,14 @@ ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove metapackage and its dependencies ynh_remove_app_dependencies +#================================================= +# REMOVE VARIOUS FILES +#================================================= +ynh_script_progression --message="Removing various files..." --weight=1 + +# Remove a cron file +ynh_secure_remove --file="/etc/cron.d/$app" + #================================================= # GENERIC FINALIZATION #=================================================