u
This commit is contained in:
parent
ab001c8d5f
commit
000d28f6f6
@ -39,7 +39,8 @@ page_index=0
|
||||
while true; do
|
||||
page_index=$((page_index+1))
|
||||
results=`curl -L -s "https://registry.hub.docker.com/v2/repositories/$OWNER/$IMAGE/tags?page=$page_index&page_size=$page_size" | jq -r 'select(.results != null) | .results[]["name"]'`
|
||||
if [ $? != 0 ] || [ "$results" == "" ]; then
|
||||
if [[ $? != 0 || "$results" == "" ]]
|
||||
then
|
||||
break
|
||||
fi
|
||||
echo "$results"
|
||||
|
@ -4,7 +4,6 @@ if [ -d "$1" ]
|
||||
then
|
||||
FONPATH=$1
|
||||
else
|
||||
echo "××× All testing path failed."
|
||||
echo ""
|
||||
echo "=== Enter <fonpath> or leave <blank> for default to '.'"
|
||||
read -p ">>> " FONPATH
|
||||
|
@ -4,7 +4,6 @@ if [ -d "$1" ]
|
||||
then
|
||||
FONPATH=$1
|
||||
else
|
||||
echo "××× All testing path failed."
|
||||
echo ""
|
||||
echo "=== Enter <fonpath> or leave <blank> for default to '.'"
|
||||
read -p ">>> " FONPATH
|
||||
|
@ -4,7 +4,6 @@ if [ -d "$1" ]
|
||||
then
|
||||
FONPATH=$1
|
||||
else
|
||||
echo "××× All testing path failed."
|
||||
echo ""
|
||||
echo "=== Enter <fonpath> or leave <blank> for default to '.'"
|
||||
read -p ">>> " FONPATH
|
||||
|
@ -4,7 +4,6 @@ if [ -d "$1" ]
|
||||
then
|
||||
FONPATH=$1
|
||||
else
|
||||
echo "××× All testing path failed."
|
||||
echo ""
|
||||
echo "=== Enter <fonpath> or leave <blank> for default to '.'"
|
||||
read -p ">>> " FONPATH
|
||||
|
@ -4,7 +4,6 @@ if [ -d "$1" ]
|
||||
then
|
||||
FONPATH=$1
|
||||
else
|
||||
echo "××× All testing path failed."
|
||||
echo ""
|
||||
echo "=== Enter <fonpath> or leave <blank> for default to '.'"
|
||||
read -p ">>> " FONPATH
|
||||
|
Loading…
Reference in New Issue
Block a user