Allow proper retry in pip install command

Signed-off-by: Daan Hoogland <daan@onecht.net>
This commit is contained in:
Rafael da Fonseca 2015-06-20 02:06:13 +02:00 committed by Daan Hoogland
parent 5386e0f6b5
commit e4f09e9ebc

View File

@ -82,8 +82,7 @@ echo -e "\nInstalling some python packages: "
for ((i=0;i<$RETRY_COUNT;i++))
do
sudo pip install lxml texttable > /tmp/piplog
sudo pip install --upgrade paramiko >> /tmp/piplog
sudo pip install --upgrade lxml texttable paramiko > /tmp/piplog
if [[ $? -eq 0 ]]; then
echo -e "\npython packages installed successfully"
break;