Mercurial > code > home > repos > infra
comparison packages.py @ 246:cb9dce5b0731
update kitty
author | drewp@bigasterisk.com |
---|---|
date | Thu, 14 Dec 2023 16:46:37 -0800 |
parents | b58f05be720a |
children | 11b738d4c4ae |
comparison
equal
deleted
inserted
replaced
245:9dee7fd80c52 | 246:cb9dce5b0731 |
---|---|
6 | 6 |
7 is_pi = host.get_fact(LinuxDistribution)['name'] in ['Debian', 'Raspbian GNU/Linux'] | 7 is_pi = host.get_fact(LinuxDistribution)['name'] in ['Debian', 'Raspbian GNU/Linux'] |
8 | 8 |
9 | 9 |
10 def kitty(): | 10 def kitty(): |
11 vers = '0.27.1' # see https://github.com/kovidgoyal/kitty/releases | 11 vers = '0.31.0' # see https://github.com/kovidgoyal/kitty/releases |
12 home = '/home/drewp' | 12 home = '/home/drewp' |
13 local = f"{home}/.local/kitty" | 13 local = f"{home}/.local/kitty" |
14 dl = f'/tmp/kitty-{vers}-x86_64.txz' | 14 dl = f'/tmp/kitty-{vers}-x86_64.txz' |
15 files.download(src=f"https://github.com/kovidgoyal/kitty/releases/download/v{vers}/kitty-{vers}-x86_64.txz", dest=dl) | 15 files.download(src=f"https://github.com/kovidgoyal/kitty/releases/download/v{vers}/kitty-{vers}-x86_64.txz", dest=dl) |
16 files.directory(local) | 16 files.directory(local) |