diff options
author | Kenneth Endfinger | 2020-02-08 01:23:50 -0500 |
---|---|---|
committer | Kenneth Endfinger | 2020-02-08 01:23:50 -0500 |
commit | dbcc0f2b6bfda3247efffc48237e72f1a423cf69 (patch) | |
tree | f6be2fe41b401d28e4df831c7dac6a1f5a55339f | |
parent | b4d583c2cab0b68957835f54f6600ec234c89988 (diff) | |
download | aur-dbcc0f2b6bfda3247efffc48237e72f1a423cf69.tar.gz |
Update Check for Update Script
-rwxr-xr-x | check-for-update.sh | 2 |
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}" |