Skip to content

Commit

Permalink
Update modules/update.am
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 6, 2024
1 parent 1fa882a commit 0e27252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/update.am
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function _update_rest() {
printf ' ERROR: %s cannot manage updates for %s' "$AMCLI" "$2"
elif ! grep -q "api.github.com" "$APPSPATH/$2"/AM-updater; then
printf ' ERROR: %s source is not on Github' "$2"
elif ! grep -q "/releases | jq " $APPSPATH/$2/AM-updater; then
elif ! grep -q "/releases | jq " "$APPSPATH"/"$2"/AM-updater; then
printf ' ERROR: %s does not redirect to a generic "releases"' "$2"
else
sed -i 's#/releases | jq #/releases/latest | jq #g' $APPSPATH/$2/AM-updater
Expand Down

0 comments on commit 0e27252

Please sign in to comment.