mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-29 07:56:06 +08:00
fix: 原先的写法因为判断条件有问题会导致容器启动后永远不会执行依赖安装,导致机器人不能正常使用,需要手动安装依赖后才会执行
This commit is contained in:
parent
4e95d62933
commit
5902f4b907
|
@ -29,12 +29,7 @@ fi
|
||||||
cp -f "$repo_path/jbot/requirements.txt" "$dir_root"
|
cp -f "$repo_path/jbot/requirements.txt" "$dir_root"
|
||||||
|
|
||||||
cd $dir_root
|
cd $dir_root
|
||||||
cat requirements.txt | while read LREAD
|
pip3 install -r requirements.txt
|
||||||
do
|
|
||||||
if test ! -z "$(pip3 show "${LREAD%%=*}" 1>/dev/null)"; then
|
|
||||||
pip3 --default-timeout=100 install ${LREAD}
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo -e "\npython3依赖安装成功...\n"
|
echo -e "\npython3依赖安装成功...\n"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user