logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 292fe11d113665063ab9705744991dda52fc4ac9
parent 6219971ed5336e48426d6a5b0e3ed8aa4ab06c04
Author: Michael Forney <mforney@mforney.org>
Date:   Mon, 14 Dec 2020 17:57:33 -0800

scripts/outdated.py: Fix a couple package mappings

Diffstat:

Mscripts/outdated.py3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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)