Skip to content

Commit

Permalink
Merge pull request #245 from chusri/update_installer
Browse files Browse the repository at this point in the history
allow user to choose the install dir through INSTALL_DIR env
  • Loading branch information
azimjohn authored Jan 25, 2025
2 parents f5cfc09 + 85034c9 commit 92926c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

URL_PREFIX="https://github.com/azimjohn/jprq/releases/download/2.4"
INSTALL_DIR="/usr/local/bin"
INSTALL_DIR=${INSTALL_DIR:-/usr/local/bin}

case "$(uname -sm)" in
"Darwin x86_64") FILENAME="jprq-darwin-amd64" ;;
Expand Down
2 changes: 1 addition & 1 deletion website/static/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

URL_PREFIX="https://github.com/azimjohn/jprq/releases/download/2.4"
INSTALL_DIR="/usr/local/bin"
INSTALL_DIR=${INSTALL_DIR:-/usr/local/bin}

case "$(uname -sm)" in
"Darwin x86_64") FILENAME="jprq-darwin-amd64" ;;
Expand Down

0 comments on commit 92926c5

Please sign in to comment.