diff --git a/bin/update-openssh b/bin/update-openssh index 4c95787..37ef896 100755 --- a/bin/update-openssh +++ b/bin/update-openssh @@ -1,6 +1,8 @@ #!/bin/sh -ATOM="$(curl -s https://github.com/openssh/openssh-portable/commits/master.atom)" +set -e + +ATOM="$(curl -H "Accept: application/atom+xml" -s https://github.com/openssh/openssh-portable/commits/master.atom)" CURRENT="$(cat pkgs/openssh/version.json)" COMMIT="$(echo $ATOM | dasel -rxml 'feed.entry.[0].id' | awk -F/ '{print $NF}')"