From b77bc6cdd57dd869d51ce91efb7c45782023bc3f Mon Sep 17 00:00:00 2001 From: bigbong420 <207055395+bigbong420@users.noreply.github.com> Date: Sun, 29 Mar 2026 11:51:33 -0400 Subject: [PATCH] Fix: pass CLI args through exec re-launch for curl|bash usage --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 08ae7af..5f64b69 100755 --- a/install.sh +++ b/install.sh @@ -13,6 +13,7 @@ set -e REPO_URL="https://github.com/bigbong420/hosting.git" REPO_BRANCH="upgrades" +ORIGINAL_ARGS=("$@") RED='\033[0;31m' GREEN='\033[0;32m' @@ -121,7 +122,7 @@ if [ ! -f "$SCRIPT_DIR/install_binaries.sh" ]; then fi log_ok "Repository cloned to $SCRIPT_DIR" # Re-exec from the cloned copy so all paths work - exec "$SCRIPT_DIR/install.sh" "$@" + exec "$SCRIPT_DIR/install.sh" "${ORIGINAL_ARGS[@]}" fi log_ok "Repository found at $SCRIPT_DIR"