changeset 230:8ef74d3a11ac

rm redundant file that makes errors
author drewp@bigasterisk.com
date Mon, 09 Oct 2023 16:55:03 -0700
parents 12fcff3b91ba
children 2da9a4e7948d
files apt.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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'),