Update lib.sh

pull/393/head
midoks 2 years ago
parent 90b1d88111
commit 0993adcc5f
  1. 1
      scripts/lib.sh

@ -61,6 +61,7 @@ if [ "$LOCAL_ADDR" != "common" ];then
PIPSRC="https://pypi.tuna.tsinghua.edu.cn/simple" PIPSRC="https://pypi.tuna.tsinghua.edu.cn/simple"
fi fi
echo "pypi source:{$PIPSRC}"
#面板需要的库 #面板需要的库
if [ ! -f /usr/local/bin/pip3 ] && [ ! -f /usr/bin/pip3 ];then if [ ! -f /usr/local/bin/pip3 ] && [ ! -f /usr/bin/pip3 ];then
python3 -m pip install --upgrade pip setuptools wheel -i $PIPSRC python3 -m pip install --upgrade pip setuptools wheel -i $PIPSRC

Loading…
Cancel
Save