Update install.sh
This commit is contained in:
parent
2e6b7bf5cd
commit
5db4a96fc9
|
|
@ -15,6 +15,10 @@ install_tmp=${rootPath}/tmp/mw_install.pl
|
|||
PATH=$PATH:${rootPath}/bin
|
||||
export PATH
|
||||
|
||||
if [ -f ${rootPath}/bin/activate ];then
|
||||
source ${rootPath}/bin/activate
|
||||
fi
|
||||
|
||||
VERSION=$2
|
||||
|
||||
Install_App()
|
||||
|
|
@ -25,6 +29,7 @@ Install_App()
|
|||
tmp=`python -V 2>&1|awk '{print $2}'`
|
||||
pVersion=${tmp:0:3}
|
||||
|
||||
|
||||
which pip
|
||||
if [ "$?" -eq "0" ];then
|
||||
tmp=$(pip list|grep google-api-python-client|awk '{print $2}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue