parent
9a36db5331
commit
be5af34a9c
3
env.sh
3
env.sh
|
@ -164,7 +164,8 @@ if [ "${requirements}" != "" ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
pipenv run pip install -U auto_uos --extra-index-url ${pypi_mirror} -i http://10.20.52.221:8081 --trusted-host=10.20.52.221
|
||||
pipenv run pip install -U auto_uos --extra-index-url ${pypi_mirror} -i http://10.20.52.221:8081 --trusted-host=10.20.52.221 > /tmp/env.log 2>&1
|
||||
check_status auto_uos
|
||||
pip_show=$(pipenv run pip show auto_uos | grep Location)
|
||||
public_location=$(echo "${pip_show}" | cut -d ":" -f2 | python3 -c "s=input();print(s.strip())")
|
||||
sudo rm -rf ${ROOT_DIR}/public
|
||||
|
|
|
@ -111,7 +111,8 @@ if [ "${requirements}" != "" ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
sudo pip3 install -U auto_uos --extra-index-url ${pypi_mirror} -i http://10.20.52.221:8081 --trusted-host=10.20.52.221
|
||||
sudo pip3 install -U auto_uos --extra-index-url ${pypi_mirror} -i http://10.20.52.221:8081 --trusted-host=10.20.52.221 > /tmp/env.log 2>&1
|
||||
check_status auto_uos
|
||||
pip_show=$(pip3 show auto_uos | grep Location)
|
||||
public_location=$(echo "${pip_show}" | cut -d ":" -f2 | python3 -c "s=input();print(s.strip())")
|
||||
sudo rm -rf ${ROOT_DIR}/public
|
||||
|
|
Loading…
Reference in New Issue