Update containers_version.sh

This commit is contained in:
qiaofeng1227 2022-07-18 09:04:45 +08:00 committed by GitHub
parent 293cb0383c
commit 57013f5ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ for appinfo in $(docker ps --format '{{.Names}}%{{.Image}}'); do
wget -O /tmp/$appname_get_version.sh https://raw.githubusercontent.com/Websoft9/docker-$appname/main/src/get_version.sh wget -O /tmp/$appname_get_version.sh https://raw.githubusercontent.com/Websoft9/docker-$appname/main/src/get_version.sh
bash /tmp/$appname_get_version.sh $containername bash /tmp/$appname_get_version.sh $containername
break break
fi fi
else else
echo "通过服务名匹配" echo "通过服务名匹配"
fi fi