diff apt.py @ 203:3fd439ae1380

minor & some upgrades
author drewp@bigasterisk.com
date Fri, 30 Jun 2023 22:39:13 -0700
parents ee6374edfc06
children 5b7cd39e6504
line wrap: on
line diff
--- a/apt.py	Fri Jun 30 22:36:53 2023 -0700
+++ b/apt.py	Fri Jun 30 22:39:13 2023 -0700
@@ -13,6 +13,10 @@
         ('https://repo.steampowered.com/steam/archive/stable/steam.gpg', 'steam.gpg'),
     ]:
         files.download(src=url, dest=f'/etc/apt/keyrings/{name}')
+
+    # vscode keeps making this, but I fetch my own
+    files.file(path='/etc/apt/trusted.gpg.d/microsoft.gpg', present=True)
+
     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'),