diff options
author | Kenneth Endfinger | 2020-02-08 01:24:58 -0500 |
---|---|---|
committer | Kenneth Endfinger | 2020-02-08 01:24:58 -0500 |
commit | beb80aa49c5e6893f88fed575786482b791e2314 (patch) | |
tree | ffb25478adfacd2c25232a9bb250d9f6e173b8b6 | |
parent | efbc34f221bdb686e78426e5e1a57e4ca2042054 (diff) | |
download | aur-beb80aa49c5e6893f88fed575786482b791e2314.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 8370f1c92b44..10897eade4a1 100755 --- a/check-for-update.sh +++ b/check-for-update.sh @@ -7,7 +7,7 @@ REPOSITORY="potassco/aspcud" 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}" |