diff options
| author | Michael Forney <mforney@mforney.org> | 2020-12-14 17:57:33 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-12-14 17:58:47 -0800 |
| commit | 292fe11d113665063ab9705744991dda52fc4ac9 (patch) | |
| tree | 1f41449219fe057bdaaec92955a90d7c5e8c88a1 /scripts/outdated.py | |
| parent | 6219971ed5336e48426d6a5b0e3ed8aa4ab06c04 (diff) | |
scripts/outdated.py: Fix a couple package mappings
Diffstat (limited to 'scripts/outdated.py')
| -rw-r--r-- | scripts/outdated.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/outdated.py b/scripts/outdated.py index 15b99dfc..e0713377 100644 --- a/scripts/outdated.py +++ b/scripts/outdated.py @@ -8,6 +8,7 @@ import urllib.request names = { 'awk': 'nawk', 'lpeg': 'lua:lpeg', + 'sfeed_curses': 'sfeed-curses', 'sshfs': 'fusefs:sshfs', 'st': 'st-term', 'terminus-font': 'fonts:terminus', @@ -48,7 +49,7 @@ for line in p.stdout: pkgs = json.loads(response.read()) newest = collections.Counter() for pkg in pkgs: - if pkg['status'] == 'newest': + if pkg['status'] in ('newest', 'unique'): newest[pkg['version']] += 1 if not newest: print('could not find newest version of {}'.format(proj), file=sys.stderr) |
