Fix lint error

This commit is contained in:
Denys Havrysh 2016-02-26 12:07:07 +02:00
parent 173a7cf64e
commit 9e21f790d2

View file

@ -3048,7 +3048,7 @@ _eof
__rpm_import_gpg "${fetch_url}${gpg_key}" || return 1
fi
if [ "$DISTRO_MAJOR_VERSION" -eq 7 ] && [ "$repo_rev" = "latest" -o "$repo_rev" = "2015.8" ]; then
if [ "$DISTRO_MAJOR_VERSION" -eq 7 ] && ([ "$repo_rev" = "latest" ] || [ "$repo_rev" = "2015.8" ]); then
# Import CentOS 7 GPG key on RHEL for installing base dependencies from
# Salt corporate repository
rpm -qa gpg-pubkey\* --qf "%{name}-%{version}\n" | grep -q ^gpg-pubkey-f4a80eb5$ || \