From 5e1a22832834ca2cf2fafca48f41c216729ffcea Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Thu, 1 May 2025 15:57:57 +1200 Subject: [PATCH] Allow INSTALL_PATH to be overridden by environment variable --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7cc1fe8..f7ac2c9 100644 --- a/install.sh +++ b/install.sh @@ -41,7 +41,7 @@ aarch64 | arm64) esac GH_REPO="axllent/mailpit" -INSTALL_PATH="/usr/local/bin" +INSTALL_PATH="${INSTALL_PATH:-/usr/local/bin}" TIMEOUT=90 # This is used to authenticate with the GitHub API. (Fix the public rate limiting issue) # Try the GITHUB_TOKEN environment variable is set globally.