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 bececbc80f
commit dbe573ca56

View File

@ -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