mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复bot安装依赖判断
This commit is contained in:
parent
128429a6a9
commit
b16f8b96dc
|
@ -31,7 +31,7 @@ cp -f "$repo_path/jbot/requirements.txt" "$dir_root"
|
|||
cd $dir_root
|
||||
cat requirements.txt | while read LREAD
|
||||
do
|
||||
if test ! -z "$(pip3 show "${LREAD%%=*}" 1>/dev/null)"; then
|
||||
if [[ ! $(pip3 show "${LREAD%%=*}" 2>/dev/null) ]]; then
|
||||
pip3 --default-timeout=100 install ${LREAD}
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user