Merge branch 'release-2.140.115'
[feisty_meow.git] / scripts / customize / dirt / scripts / redirt.sh
diff --git a/scripts/customize/dirt/scripts/redirt.sh b/scripts/customize/dirt/scripts/redirt.sh
new file mode 100644 (file)
index 0000000..4e4df5a
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+function do_redirt()
+{
+  reapply_cool_permissions dirt
+
+  # anything else specific to dirt?
+}
+
+# this block should execute when the script is actually run, rather
+# than when it's just being sourced.
+if [[ $0 =~ .*redirt\.sh.* ]]; then
+  source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+  exit_on_error "sourcing the feisty meow environment"
+  source "$FEISTY_MEOW_SCRIPTS/security/cool_permissionator.sh"
+  exit_on_error "sourcing the permission script"
+  do_redirt
+  continue_on_error "redirting process"
+fi
+