fix if statement
All checks were successful
Publish Docker Image / docker (push) Successful in 1m22s

This commit is contained in:
Lee 2023-07-12 14:20:53 +01:00
parent 98b7ad12cc
commit 0dd750a115

View File

@ -8,6 +8,7 @@ if [ -z "$(ls -A $workDir/public)" ]; then
echo "Some files are missing, downloading them"
if [ ! -w "$workDir" ]; then
echo "The directory \"$workDir\" is not writeable, unable to download files. Please check your docker compose for :ro and set it to :rw"
fi
for item in "${toDownload[@]}"
do
dir=$workDir/public/$item