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:
parent
4c04b46db6
commit
f37e85d547
@ -34,7 +34,7 @@ if [[ $DISTRO_NAME =~ (opensuse|fedora|centos|centos7|rhel7) ]]; then
|
|||||||
42*)
|
42*)
|
||||||
packages="python-virtualenv python-pip python-setuptools"
|
packages="python-virtualenv python-pip python-setuptools"
|
||||||
;;
|
;;
|
||||||
tumbleweed)
|
tumbleweed|15*)
|
||||||
# XXX: python3?
|
# XXX: python3?
|
||||||
packages="python2-virtualenv python2-pip python2-setuptools"
|
packages="python2-virtualenv python2-pip python2-setuptools"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user