added re-doug'ing script
authorChris Koeritz <fred@gruntose.com>
Fri, 25 Jan 2019 05:38:18 +0000 (00:38 -0500)
committerChris Koeritz <fred@gruntose.com>
Fri, 25 Jan 2019 05:38:18 +0000 (00:38 -0500)
scripts/customize/doug/scripts/redoug.sh [new file with mode: 0644]

diff --git a/scripts/customize/doug/scripts/redoug.sh b/scripts/customize/doug/scripts/redoug.sh
new file mode 100644 (file)
index 0000000..136d6cd
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+function do_redoug()
+{
+  reapply_cool_permissions doug
+
+  # anything else specific to doug?
+}
+
+# this block should execute when the script is actually run, rather
+# than when it's just being sourced.
+if [[ $0 =~ .*redoug\.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_redoug
+  continue_on_error "redouging process"
+fi
+