Mercurial > code > home > repos > infra
diff 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 |
line wrap: on
line diff
--- a/apt.py Mon Oct 09 16:27:08 2023 -0700 +++ b/apt.py Mon Oct 09 16:55:03 2023 -0700 @@ -17,6 +17,9 @@ # vscode keeps making this, but I fetch my own files.file(path='/etc/apt/trusted.gpg.d/microsoft.gpg', present=True) + # 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) + server.shell(commands=[ f"curl -fsSL {url} | gpg --dearmor > /etc/apt/keyrings/{name}" for (url, name) in [ ('https://packages.microsoft.com/keys/microsoft.asc', 'ms.gpg'),