1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-22 23:20:06 -07:00

kiss-outdated: show curl error output

This commit is contained in:
Dylan Araps 2020-09-23 14:21:06 +03:00
parent ac2240f805
commit d6eb067ee3
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -6,8 +6,8 @@ repology_version() {
# svg latest-version badge and extracting the version from the xml.
repology_name "$1"
rep=$(curl -s "https://repology.org/badge/latest-versions/$remote.svg") && {
remote_ver=${rep%</text>*}
r=$(curl -Ss "https://repology.org/badge/latest-versions/$remote.svg") && {
remote_ver=${r%</text>*}
remote_ver=${remote_ver##*>}
}
}