elements: pip-and-virtualenv: Use common packages for openSUSE
The 'packages' variable already contains the packages we need so use it instead of duplicating the packages. Change-Id: Id22e1862f9654e66252d03a0fed9839cf004d750
This commit is contained in:
parent
f8106b2ec0
commit
c46b6da65f
@ -25,7 +25,7 @@ if [[ $DISTRO_NAME =~ (opensuse|fedora|centos|centos7|rhel|rhel7) ]]; then
|
||||
# overwrites the pip installed version with the packaged version,
|
||||
# leading to all sorts of weird version issues.
|
||||
if [[ $DISTRO_NAME = opensuse ]]; then
|
||||
zypper -n install python-virtualenv python-pip python-setuptools
|
||||
zypper -n install $packages
|
||||
else
|
||||
${YUM:-yum} install -y $packages
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user