made this slightly safer by not using stock rm
authorChris Koeritz <fred@gruntose.com>
Thu, 15 Sep 2016 05:11:13 +0000 (01:11 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 15 Sep 2016 05:11:13 +0000 (01:11 -0400)
scripts/core/reconfigure_feisty_meow.sh

index 3a36be63bb74c1ca9f13b27d111bd9b1944669f2..2b36bd135f4910a11ecb771e11b02c14d80e45a3 100644 (file)
@@ -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