diff --git a/scripts/share/local-shared-manager.sh b/scripts/share/local-shared-manager.sh index e9158ce..a25e86b 100644 --- a/scripts/share/local-shared-manager.sh +++ b/scripts/share/local-shared-manager.sh @@ -10,7 +10,7 @@ # ========================================================== # Configuration -REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main" +LOCAL_SCRIPTS="/usr/local/share/proxmenux/scripts" BASE_DIR="/usr/local/share/proxmenux" UTILS_FILE="$BASE_DIR/utils.sh" @@ -21,8 +21,8 @@ if [[ -f "$UTILS_FILE" ]]; then fi -SHARE_COMMON_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main/scripts/global/share-common.func" -if ! source <(curl -s "$SHARE_COMMON_URL" 2>/dev/null); then +SHARE_COMMON_FILE="$LOCAL_SCRIPTS/global/share-common.func" +if ! source "$SHARE_COMMON_FILE" 2>/dev/null; then SHARE_COMMON_LOADED=false else SHARE_COMMON_LOADED=true