Skip to content

Commit

Permalink
Fix: install.am "--force-latest"
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 5, 2024
1 parent a6da36d commit 3ef3125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/install.am
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function _if_zsync() {
function _if_force_latest() {
# If you use the --latest option, add the "latest" flag to scripts that point to a very common "release"
if grep -q 'force-latest' "$AMPATH"/.cache/install-args; then
sed -i 's#releases -O -#releases/latest -O -#g' ./"$arg"
sed -i 's#/releases | jq #/releases/latest | jq #g' ./$arg
fi
}

Expand Down

0 comments on commit 3ef3125

Please sign in to comment.