modified error handling methods
[feisty_meow.git] / scripts / customize / fred / scripts / refred.sh
1 #!/bin/bash
2
3 function do_refred()
4 {
5   reapply_cool_permissions fred
6
7   # anything else specific to fred?
8 }
9
10 # this block should execute when the script is actually run, rather
11 # than when it's just being sourced.
12 if [[ $0 =~ .*refred\.sh.* ]]; then
13   source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
14   exit_on_error "sourcing the feisty meow environment"
15   source "$FEISTY_MEOW_SCRIPTS/security/cool_permissionator.sh"
16   exit_on_error "sourcing the permission script"
17   do_refred
18   exit_on_error "refredding process"
19 fi
20