fix(persistence): invoke the installed script path literally
This commit is contained in:
@@ -4,9 +4,10 @@ set -euo pipefail
|
||||
VERSION="2.0.0"
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
SCRIPT_PATH="$SCRIPT_DIR/$(basename "$0")"
|
||||
LIB_DIR="$SCRIPT_DIR/lib"
|
||||
|
||||
for _lib in colors config detect validate dscl suppress backup status heal firewall harden whitelist check monitor history doctor selfupdate uninstall report ma_detect demo vpn init suggest remediate telemetry predict discord; do
|
||||
for _lib in colors config detect validate dscl suppress backup status launchd heal firewall harden whitelist check monitor history doctor selfupdate uninstall report ma_detect demo vpn init suggest remediate telemetry predict discord; do
|
||||
_lib_path="$LIB_DIR/$_lib.sh"
|
||||
if [ -f "$_lib_path" ]; then
|
||||
source "$_lib_path"
|
||||
|
||||
Reference in New Issue
Block a user