diff options
author | Kenneth Endfinger | 2020-02-08 01:24:01 -0500 |
---|---|---|
committer | Kenneth Endfinger | 2020-02-08 01:24:01 -0500 |
commit | a86ebd9dadc8c72dc6e857fc0c464423545d3fa6 (patch) | |
tree | c1d8158f746839d8e4b46663dd70b56d263629e7 | |
parent | 396beb26b9f5e24217ff43ab8998abf522f21193 (diff) | |
download | aur-a86ebd9dadc8c72dc6e857fc0c464423545d3fa6.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 c459a5e0d068..2d041a2c44e5 100755 --- a/check-for-update.sh +++ b/check-for-update.sh @@ -7,7 +7,7 @@ REPOSITORY="ikwzm/udmabuf" 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}" |