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
1 changed files with 2 additions and 2 deletions

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##*>}
}
}