forked from kiss-community/kiss
kiss-outdated: show curl error output
This commit is contained in:
parent
ac2240f805
commit
d6eb067ee3
@ -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##*>}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user