diff --git a/cmdeploy/src/cmdeploy/__init__.py b/cmdeploy/src/cmdeploy/__init__.py index f7cf2bf6..6f62f165 100644 --- a/cmdeploy/src/cmdeploy/__init__.py +++ b/cmdeploy/src/cmdeploy/__init__.py @@ -1055,20 +1055,11 @@ class ChatmailDeployer(Deployer): @staticmethod def install_impl(): - # Add our OBS repository for dovecot_no_delay - files.put( - name="Add Deltachat OBS GPG key to apt keyring", - src=importlib.resources.files(__package__).joinpath( - "obs-home-deltachat.gpg" - ), - dest="/etc/apt/keyrings/obs-home-deltachat.gpg", - user="root", - group="root", - mode="644", - ) + # Remove OBS repository key that is no longer used. + files.file("/etc/apt/keyrings/obs-home-deltachat.gpg", present=False) files.line( - name="Add DeltaChat OBS home repository to sources.list", + name="Remove DeltaChat OBS home repository from sources.list", path="/etc/apt/sources.list", line="deb [signed-by=/etc/apt/keyrings/obs-home-deltachat.gpg] https://download.opensuse.org/repositories/home:/deltachat/Debian_12/ ./", escape_regex_characters=True, diff --git a/cmdeploy/src/cmdeploy/obs-home-deltachat.gpg b/cmdeploy/src/cmdeploy/obs-home-deltachat.gpg deleted file mode 100644 index 7b7c710e..00000000 Binary files a/cmdeploy/src/cmdeploy/obs-home-deltachat.gpg and /dev/null differ