summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-02-08 01:23:50 -0500
committerKenneth Endfinger2020-02-08 01:23:50 -0500
commitdbcc0f2b6bfda3247efffc48237e72f1a423cf69 (patch)
treef6be2fe41b401d28e4df831c7dac6a1f5a55339f
parentb4d583c2cab0b68957835f54f6600ec234c89988 (diff)
downloadaur-dbcc0f2b6bfda3247efffc48237e72f1a423cf69.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 fdf81a284013..b5ce878675c1 100755
--- a/check-for-update.sh
+++ b/check-for-update.sh
@@ -7,7 +7,7 @@ REPOSITORY="dtolnay/cargo-tally"
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 -- "-" | head -n1)
+LATEST=$(curl -n --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -v -- "-" | head -n1)
if [ "${LATEST}" != "${CURRENT}" ]
then
echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}"