From 51e74bf173789b3fc30defb12a3ce240992fd65d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 25 Jan 2019 00:38:18 -0500 Subject: [PATCH] added re-doug'ing script --- scripts/customize/doug/scripts/redoug.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scripts/customize/doug/scripts/redoug.sh diff --git a/scripts/customize/doug/scripts/redoug.sh b/scripts/customize/doug/scripts/redoug.sh new file mode 100644 index 00000000..136d6cd4 --- /dev/null +++ b/scripts/customize/doug/scripts/redoug.sh @@ -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 + -- 2.34.1