Mercurial > code > home > repos > infra
diff apt.py @ 297:d000aead76d4
add tofu
author | drewp@bigasterisk.com |
---|---|
date | Wed, 15 May 2024 17:38:52 -0700 |
parents | 65e28d2e0cd8 |
children | f17d9925a2aa |
line wrap: on
line diff
--- a/apt.py Tue May 07 16:55:58 2024 -0700 +++ b/apt.py Wed May 15 17:38:52 2024 -0700 @@ -23,7 +23,7 @@ # and it makes this, which is redundant with my sources.list template line files.file(path='/etc/apt/sources.list.d/vscode.list', present=False) - apt.packages(packages=['curl']) + apt.packages(packages=['curl', 'gpg']) server.shell(commands=[ f"curl -fsSL {shlex.quote(url)} | gpg --dearmor > /etc/apt/keyrings/{name}" for (url, name) in [ ('https://packages.microsoft.com/keys/microsoft.asc', 'ms.gpg'),