From c28f50f49ea82b8f309b131484555096e1a7b769 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 12 Jul 2023 14:17:06 +0100 Subject: [PATCH] fix check --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index cf1f210..3071047 100644 --- a/start.sh +++ b/start.sh @@ -11,7 +11,7 @@ if [ -z "$(ls -A $workDir/public)" ]; then for item in "${toDownload[@]}" do dir=$workDir/public/$item - if [ -e "$dir" ]; then + if [ ! -e "$dir" ]; then echo "Downloading $item to directory $dir" wget -P $dir $baseUrl$item echo "Done"