Update containers_version.sh

This commit is contained in:
qiaofeng1227 2022-07-18 08:15:27 +08:00 committed by GitHub
parent 5073afe084
commit 214399b6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,8 +25,8 @@ for appinfo in $(docker ps --format '{{.Names}}%{{.Image}}'); do
fi
if [[ $containername == $appname ]];then
echo "$containername容器匹配成功app:$appname"
appnames=(${appnames[*]/$appname})
initdata="$initdata $appname"
appnames=(${appnames[*]/$appname})
initdata="$initdata $appname"
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
break