summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-02-08 01:24:24 -0500
committerKenneth Endfinger2020-02-08 01:24:24 -0500
commitbc6a2ce1162fff91e1a6ee1c7c450ede65e3822c (patch)
tree611d98ddc2facade7d6ed9d1d2b34ac7ac7ea7fa
parent750b2c97489d393ccd71a93d17523e9525048d67 (diff)
downloadaur-bc6a2ce1162fff91e1a6ee1c7c450ede65e3822c.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 97cf29690e75..e98e11460b0f 100755
--- a/check-for-update.sh
+++ b/check-for-update.sh
@@ -7,7 +7,7 @@ REPOSITORY="bazelbuild/bazel"
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 -- "-" | grep -v "^v" | grep "\." | head -n1)
+LATEST=$(curl -n --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -v -- "-" | grep -v "^v" | grep "\." | head -n1)
if [ "${LATEST}" != "${CURRENT}" ]
then
echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}"