summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Endfinger2020-02-08 01:24:12 -0500
committerKenneth Endfinger2020-02-08 01:24:12 -0500
commit4dfa25e4536b954afb5d4433dc63e59bb905663d (patch)
tree7289ab59b3fb3f0e6c4c4013ce41e8350950e0a5
parent478b2b2d577704bcba32390db1886963313381f6 (diff)
downloadaur-4dfa25e4536b954afb5d4433dc63e59bb905663d.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 d1938b6efdc9..5bfe84f532d7 100755
--- a/check-for-update.sh
+++ b/check-for-update.sh
@@ -7,7 +7,7 @@ REPOSITORY="storaged-project/blivet-gui"
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 -E -- "^[0-9]" | head -n1 | sed 's/\-/./g')
+LATEST=$(curl -n --silent -L "https://api.github.com/repos/${REPOSITORY}/tags" | jq -r '.[].name' | grep -E -- "^[0-9]" | head -n1 | sed 's/\-/./g')
if [ "${LATEST}" != "${CURRENT}" ]
then
echo "${PKG} : AUR ${CURRENT} != GitHub ${LATEST}"