Merge pull request #409 from phxa1/chore-upgrade-sh

chore(upgrade.sh): check env installed by collie
This commit is contained in:
delong.wang 2023-10-26 03:03:20 -05:00 committed by GitHub
commit d6322d70b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,6 +176,11 @@ done
cd "$safeline_path"
grep COLLIE .env > /dev/null 2>&1
if [ $? -eq "0" ]; then
abort "检测到你的环境通过牧云主机助手安装,请使用牧云主机助手-应用市场进行升级."
fi
compose_name=`ls docker-compose.yaml compose.yaml 2>/dev/null`
compose_path=$safeline_path/$compose_name