From 75f443218eb17c131e3f2a576efdfa73baf3db17 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 3 Nov 2022 14:16:22 +0100 Subject: [PATCH] Adding scripts/fix-memberof --- scripts/functions.rc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/functions.rc b/scripts/functions.rc index cb66215..7853d7c 100644 --- a/scripts/functions.rc +++ b/scripts/functions.rc @@ -370,6 +370,17 @@ RM() { } +#------------------------------------------------------------------------------ +RM_force() { + + if [[ "${VERBOSE}" != "y" ]] ; then + rm --force "$@" + else + rm --force --verbose "$@" + fi + +} + #------------------------------------------------------------------------------ MKDIR() { -- 2.39.5