Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backward compatibility with jq-1.4 for debian jessie distros #392

Open
KidoSoraKi opened this issue Apr 18, 2020 · 0 comments
Open

Backward compatibility with jq-1.4 for debian jessie distros #392

KidoSoraKi opened this issue Apr 18, 2020 · 0 comments

Comments

@KidoSoraKi
Copy link

Hi,
Replacing | last | .url by | .[length-1].url in the quoted line bellow fixes the issue.

msm/init/msm

Line 1120 in d8a6e8c

local latest_package_url=$(as_user "$SETTINGS_USERNAME" "cat $versions_file | jq -r '.versions | sort_by(.releaseTime) | map(select(.type | contains ("\""$versions_target"\""))) | last | .url'")

Thanks !

@KidoSoraKi KidoSoraKi changed the title Backward compatibility with jq-1.4 for debian servers Backward compatibility with jq-1.4 for debian jessie distros Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant