Mercurial > code > home > repos > infra
diff apt.py @ 249:5c10b1e8d0e1
add unity key
author | drewp@bigasterisk.com |
---|---|
date | Mon, 08 Jan 2024 18:38:55 -0800 |
parents | ff36727f3a10 |
children | 11b738d4c4ae |
line wrap: on
line diff
--- a/apt.py Thu Dec 28 19:54:13 2023 -0800 +++ b/apt.py Mon Jan 08 18:38:55 2024 -0800 @@ -24,12 +24,13 @@ 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'), - ('https://deb.nodesource.com/gpgkey/nodesource.gpg.key', 'nodesource-older.gpg'), # rm after everything's on 23.10 + ('https://deb.nodesource.com/gpgkey/nodesource.gpg.key', 'nodesource-older.gpg'), # rm after everything's on 23.10 ('https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key', 'nodesource.gpg'), ('https://dl.google.com/linux/linux_signing_key.pub', 'chrome.gpg'), ('https://ftp-master.debian.org/keys/archive-key-11.asc', 'bullseye.gpg'), ('https://ftp-master.debian.org/keys/archive-key-11-security.asc', 'bullseye-security.gpg'), ('https://packages.cloud.google.com/apt/doc/apt-key.gpg', 'coral.gpg'), + ('https://hub.unity3d.com/linux/keys/public', 'unityhub.gpg'), ] ]) if host.get_fact(Arch) == 'armv7l' or host.name == 'bang': # I mean raspbian/debian @@ -40,15 +41,16 @@ #-rw-r--r-- 1 root root 2794 Mar 26 2021 /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg #-rw-r--r-- 1 root root 1733 Mar 26 2021 /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg + dir = Path('/etc/apt/sources.list.d') def clear_known_sources_files(known=[ - dir / 'vscode.list', - dir / 'google-chrome.list', - dir / 'steam-beta.list', - dir / 'google-chrome-unstable.list', - dir / 'steam-stable.list', + dir / 'vscode.list', + dir / 'google-chrome.list', + dir / 'steam-beta.list', + dir / 'google-chrome-unstable.list', + dir / 'steam-stable.list', ]): found = map(Path, host.get_fact(FindFiles, dir, quote_path=True)) if set(found) - set(known):