summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-02-08 01:23:09 -0500
committerKenneth Endfinger2020-02-08 01:23:09 -0500
commitf59f46a95deaa6b889c24fac9d5babe7c2565a0e (patch)
tree9dfb1fabd85d5aecd5f6d740c6129100197214c4
parentee6ab022d6be80452cb02f987fcdfa208fc9f2d0 (diff)
downloadaur-f59f46a95deaa6b889c24fac9d5babe7c2565a0e.tar.gz
Update Check for Update Script
-rwxr-xr-xcheck-for-update.sh2
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}"