diff --git a/scripts/shell/images-indexer.sh b/scripts/shell/images-indexer.sh index 139b183..5e05e23 100755 --- a/scripts/shell/images-indexer.sh +++ b/scripts/shell/images-indexer.sh @@ -423,6 +423,8 @@ image_download_steps() { tmp_dir="/tmp" + should_download_at_least_once=false + for folder in "${selected_folders[@]}"; do cd "${furry_commission_ideas_path}/${folder}" @@ -434,8 +436,14 @@ image_download_steps() { continue fi + + should_download_at_least_once=true done + if ! $should_download_at_least_once; then + return + fi + echo "" echo "Download starting..."