qubes-release: import key only on upgrade

Installer will import all keys at the end itself.
This commit is contained in:
Marek Marczykowski 2012-04-19 14:22:25 +02:00
parent 61f878c202
commit 57a46a7c01

View File

@ -75,7 +75,9 @@ EOF
# On Mar 31, 2012, the Qubes signing key has changed # On Mar 31, 2012, the Qubes signing key has changed
# The new key is brought by this RPM, but we also # The new key is brought by this RPM, but we also
# need to explicitly import it to RPM DB # need to explicitly import it to RPM DB
if [ $1 -gt 1 ]; then
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-1-primary
fi
%clean %clean