elements: pip-and-virtualenv: Handle openSUSE Leap 15

We need to handle openSUSE Leap 15 when installing pip and virtualenv
packages. This fixes the following problem when the pip-and-virtualenv
elements is used:

2018-05-31 09:42:12.014 | + [[ opensuse = opensuse ]]
2018-05-31 09:42:12.014 | /tmp/in_target.d/install.d/04-install-pip: line 57: packages: unbound variable

Change-Id: Id7911b0a0836fa8dcc003e23fa515b78fba67126
This commit is contained in:
Markos Chandras 2018-05-31 10:54:35 +01:00
parent 4c04b46db6
commit f37e85d547
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if [[ $DISTRO_NAME =~ (opensuse|fedora|centos|centos7|rhel7) ]]; then
42*)
packages="python-virtualenv python-pip python-setuptools"
;;
tumbleweed)
tumbleweed|15*)
# XXX: python3?
packages="python2-virtualenv python2-pip python2-setuptools"
;;