From: Frank Brehm Date: Thu, 3 Nov 2022 13:16:22 +0000 (+0100) Subject: Adding scripts/fix-memberof X-Git-Tag: 0.7.0^2~1^2~4 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=75f443218eb17c131e3f2a576efdfa73baf3db17;p=pixelpark%2Fpp-admin-tools.git Adding scripts/fix-memberof --- 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() {