summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-02-08 01:23:27 -0500
committerKenneth Endfinger2020-02-08 01:23:27 -0500
commitfe38a2e34fb6bf788c9db3bc4e75b4a2ccbb9a8d (patch)
tree99befb57e538fb0c4e79de8cc6c5cd1a32ed108f
parent08e8b6757a5a25d9a353732271ed0fb3e2b5f8df (diff)
downloadaur-fe38a2e34fb6bf788c9db3bc4e75b4a2ccbb9a8d.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 09f1fcbd55b1..2eb72d7fbe63 100755
--- a/check-for-update.sh
+++ b/check-for-update.sh
@@ -7,7 +7,7 @@ REPOSITORY="EliverLara/Ant"
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 | sed 's/^v//g')
+LATEST=$(curl -n --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -v -- "-" | head -n1 | sed 's/^v//g')
if [ "${LATEST}" != "${CURRENT}" ]
then
echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}"