Fixed check method of $USE_GET_PIP

'[[ -n "$USE_GET_PIP" ]]' always TRUE
because $USE_GET_PIP is '0' or '1'.

Change-Id: I73c4c6befe2126882ef21991b2a3fe712b2ac388
Closes-Bug: #1259824
This commit is contained in:
KIYOHIRO ADACHI 2013-12-11 16:11:28 +09:00
parent 39807f4616
commit a515a70e2b

View File

@ -87,7 +87,7 @@ get_versions
# Eradicate any and all system packages
uninstall_package python-pip
if [[ -n "$USE_GET_PIP" ]]; then
if [[ "$USE_GET_PIP" == "1" ]]; then
install_get_pip
else
install_pip_tarball