scripts: enable socks5 proxy

This commit is contained in:
missytake
2024-02-14 10:36:27 +01:00
parent c8d9f20a48
commit e331659851

View File

@@ -2,5 +2,10 @@
set -e
python3 -m venv --upgrade-deps venv
venv/bin/pip install -e chatmaild
venv/bin/pip install -e cmdeploy
if [ -z ${SOCKS5_PROXY+x} ]; then
venv/bin/pip install -e chatmaild
venv/bin/pip install -e cmdeploy
else
venv/bin/pip install --proxy socks5://$SOCKS5_PROXY -e chatmaild
venv/bin/pip install --proxy socks5://$SOCKS5_PROXY -e cmdeploy
fi