summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 aeb1f638f17e..d9d5d2627f0c 100755
--- a/check-for-update.sh
+++ b/check-for-update.sh
@@ -7,7 +7,7 @@ REPOSITORY="dbus-cxx/dbus-cxx"
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}"