Skip to content

Commit

Permalink
fix: harden install-non-pkg-mngr script (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
natelandau authored Jan 15, 2025
1 parent 5a79d9d commit 639fa19
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ if [[ ! -e "${HOME}/bin/install-binary.py" ]]; then
_safeExit_
fi


uv run -q ${HOME}/bin/install-binary.py --binary-name="{{ $binary.name }}" --repository="{{ $binary.repository }}" --version-regex="{{ $binary.version_regex }}" --remove-from-release="{{ $binary.remove_from_release }}" --executable-name="{{ $binary.executable_name }}" --description="{{ $binary.description }}"
if ! uv run -q ${HOME}/bin/install-binary.py --binary-name="{{ $binary.name }}" --repository="{{ $binary.repository }}" --version-regex="{{ $binary.version_regex }}" --remove-from-release="{{ $binary.remove_from_release }}" --executable-name="{{ $binary.executable_name }}" --description="{{ $binary.description }}"; then
error "Could not install {{ $binary.name }}. Review error messages above."
fi


{{ end }}
Expand Down

0 comments on commit 639fa19

Please sign in to comment.