Mercurial > code > home > repos > infra
comparison apt.py @ 230:8ef74d3a11ac
rm redundant file that makes errors
author | drewp@bigasterisk.com |
---|---|
date | Mon, 09 Oct 2023 16:55:03 -0700 |
parents | adb34a04ca43 |
children | 19a7f714273c |
comparison
equal
deleted
inserted
replaced
229:12fcff3b91ba | 230:8ef74d3a11ac |
---|---|
14 ]: | 14 ]: |
15 files.download(src=url, dest=f'/etc/apt/keyrings/{name}') | 15 files.download(src=url, dest=f'/etc/apt/keyrings/{name}') |
16 | 16 |
17 # vscode keeps making this, but I fetch my own | 17 # vscode keeps making this, but I fetch my own |
18 files.file(path='/etc/apt/trusted.gpg.d/microsoft.gpg', present=True) | 18 files.file(path='/etc/apt/trusted.gpg.d/microsoft.gpg', present=True) |
19 | |
20 # and it makes this, which is redundant with my sources.list template line | |
21 files.file(path='/etc/apt/sources.list.d/vscode.list', present=False) | |
19 | 22 |
20 server.shell(commands=[ | 23 server.shell(commands=[ |
21 f"curl -fsSL {url} | gpg --dearmor > /etc/apt/keyrings/{name}" for (url, name) in [ | 24 f"curl -fsSL {url} | gpg --dearmor > /etc/apt/keyrings/{name}" for (url, name) in [ |
22 ('https://packages.microsoft.com/keys/microsoft.asc', 'ms.gpg'), | 25 ('https://packages.microsoft.com/keys/microsoft.asc', 'ms.gpg'), |
23 ('https://deb.nodesource.com/gpgkey/nodesource.gpg.key', 'nodesource.gpg'), | 26 ('https://deb.nodesource.com/gpgkey/nodesource.gpg.key', 'nodesource.gpg'), |