diff options
author | Kenneth Endfinger | 2020-02-08 01:23:09 -0500 |
---|---|---|
committer | Kenneth Endfinger | 2020-02-08 01:23:09 -0500 |
commit | f59f46a95deaa6b889c24fac9d5babe7c2565a0e (patch) | |
tree | 9dfb1fabd85d5aecd5f6d740c6129100197214c4 | |
parent | ee6ab022d6be80452cb02f987fcdfa208fc9f2d0 (diff) | |
download | aur-f59f46a95deaa6b889c24fac9d5babe7c2565a0e.tar.gz |
Update Check for Update Script
-rwxr-xr-x | check-for-update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-for-update.sh b/check-for-update.sh index 1f9977145006..bccbb90cc858 100755 --- a/check-for-update.sh +++ b/check-for-update.sh @@ -7,7 +7,7 @@ REPOSITORY="blackducksoftware/ohcount" PKG=$(cat .SRCINFO | grep "pkgbase" | head -n1 | awk '{print $3}') CURRENT=$(cat .SRCINFO | grep "pkgver" | head -n1 | awk '{print $3}') -LATEST=$(curl --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -v -- "^v" | head -n1) +LATEST=$(curl -n --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -v -- "^v" | head -n1) if [ "${LATEST}" != "${CURRENT}" ] then echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}" |