From 57a46a7c012c521054475dd5c0c35f9953d0d93f Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 19 Apr 2012 14:22:25 +0200 Subject: [PATCH] qubes-release: import key only on upgrade Installer will import all keys at the end itself. --- qubes-release/qubes-release.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qubes-release/qubes-release.spec b/qubes-release/qubes-release.spec index 12c0f4a..977aa39 100644 --- a/qubes-release/qubes-release.spec +++ b/qubes-release/qubes-release.spec @@ -75,7 +75,9 @@ EOF # On Mar 31, 2012, the Qubes signing key has changed # The new key is brought by this RPM, but we also # need to explicitly import it to RPM DB -rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary +if [ $1 -gt 1 ]; then + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary +fi %clean