From: Chris Koeritz Date: Thu, 15 Sep 2016 05:11:13 +0000 (-0400) Subject: made this slightly safer by not using stock rm X-Git-Tag: 2.140.90~452 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=64b9454ee84059694898a1ce36a7f0dca68e3b00;p=feisty_meow.git made this slightly safer by not using stock rm --- diff --git a/scripts/core/reconfigure_feisty_meow.sh b/scripts/core/reconfigure_feisty_meow.sh index 3a36be63..2b36bd13 100644 --- a/scripts/core/reconfigure_feisty_meow.sh +++ b/scripts/core/reconfigure_feisty_meow.sh @@ -42,7 +42,8 @@ if [ ! -d "$FEISTY_MEOW_LOADING_DOCK" ]; then mkdir -p "$FEISTY_MEOW_LOADING_DOCK" fi # make toast out of generated files right away, but leave any custom scripts. -find "$FEISTY_MEOW_LOADING_DOCK" -maxdepth 1 -type f -exec rm -f "{}" ';' &>/dev/null +find "$FEISTY_MEOW_LOADING_DOCK" -maxdepth 1 -type f -exec perl "$FEISTY_MEOW_SCRIPTS/files/safedel.pl" "{}" ';' +# &>/dev/null if [ ! -d "$FEISTY_MEOW_LOADING_DOCK/custom" ]; then mkdir "$FEISTY_MEOW_LOADING_DOCK/custom" fi