Merge pull request #17063 from tsparber/fix-wording-find-sparkle
find_sparkle_appcast: Suggest stanza location
This commit is contained in:
commit
a7cbcdd49b
|
@ -59,7 +59,7 @@ if [[ -z "${appcast_url}" ]]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
# vaidate appcast
|
||||
# validate appcast
|
||||
appcast_http_response="$(curl --silent --head --write-out '%{http_code}' "${appcast_url}" -o /dev/null)"
|
||||
[[ "${appcast_http_response}" != '200' ]] && appcast_found_error "returned a non-200 (OK) HTTP response code (${appcast_http_response})"
|
||||
|
||||
|
@ -67,10 +67,10 @@ appcast_checkpoint=$(curl --silent --compressed "${appcast_url}" | sed 's|<pubDa
|
|||
[[ "${appcast_checkpoint}" == 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' ]] && appcast_found_error 'seems to be empty'
|
||||
|
||||
# output appcast
|
||||
echo "A Sparkle appcast was found. You sould add it to your cask as
|
||||
echo "A Sparkle appcast was found. You should add it to your cask as
|
||||
|
||||
appcast '${appcast_url}',
|
||||
:checkpoint => '${appcast_checkpoint}'
|
||||
appcast '${appcast_url}',
|
||||
:checkpoint => '${appcast_checkpoint}'
|
||||
|
||||
You should likely also add 'auto_updates true'"
|
||||
|
||||
|
|
Loading…
Reference in New Issue