Update containers_version.sh

This commit is contained in:
qiaofeng1227 2022-07-15 16:02:54 +08:00 committed by GitHub
parent 0d5030a4fe
commit d3b19c9522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,11 @@
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
# get applist
git clone --depth=1 https://github.com/Websoft9/StackHub.git
if [ -d StackHub ] ; then
echo "StackHub is exists"
else
git clone --depth=1 https://github.com/Websoft9/StackHub.git
fi
appnames=$(ls StackHub/apps/roles |grep -v Template |grep -v README.md |grep -v role)
for appname in $appnames; do
echo $character