kiss-outdated: improvements

This commit is contained in:
Dylan Araps 2021-07-03 11:26:44 +00:00
parent 2e495b59e5
commit b6c5a245bd
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 12 additions and 1 deletions

View File

@ -113,6 +113,9 @@ repology_name() {
kiss)
remote=kiss-package-manager
# Temporary.
remote=kiss-unclassified
;;
liberation-fonts)
@ -129,6 +132,10 @@ repology_name() {
remote=links
;;
linux-headers)
remote=linux
;;
lux)
remote=lux-brightness-ventto
;;
@ -256,7 +263,7 @@ main() {
# Package up-to-date, do nothing.
;;
- | '' | ' ')
'' | ' ')
printf '\n%s: empty response\n' "$pkg" >&2
printf 'possible causes:\n' >&2
printf ' package name differs from repology name,\n' >&2
@ -264,6 +271,10 @@ main() {
printf ' network error\n\n' >&2
;;
'-')
# No version scheme, do nothing.
;;
*)
printf '%-30s %s -> %s\n' "$pkg" "$ver" "$remote_ver"
;;