summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-02-08 01:23:56 -0500
committerKenneth Endfinger2020-02-08 01:23:56 -0500
commite547522479a5236e692771fcef4426634cb5b58f (patch)
treeae3a8d12e1601f2df72c76361c3e0844eb8fda8f
parent4e233678e45c1d3f05018a36779e4b4887074da4 (diff)
downloadaur-e547522479a5236e692771fcef4426634cb5b58f.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 49d87935ab29..4d3ba518082b 100755
--- a/check-for-update.sh
+++ b/check-for-update.sh
@@ -7,7 +7,7 @@ REPOSITORY="moby/buildkit"
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}/releases/latest" | jq -r '.tag_name' | sed 's/^v//g')
+LATEST=$(curl -n --silent -L "https://api.github.com/repos/${REPOSITORY}/releases/latest" | jq -r '.tag_name' | sed 's/^v//g')
if [ "${LATEST}" != "${CURRENT}" ]
then
echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}"