fixed dir check for linking
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Niklas 2021-05-09 18:48:22 +02:00
parent 388ab4f38b
commit f3247a20d3

View File

@ -24,7 +24,7 @@ chmod +x LaunchServer.sh
for linkedFile in "${toLinkedFiles[@]}" for linkedFile in "${toLinkedFiles[@]}"
do do
[ -f /data/$linkedFile ] || ln -s /minecraft/$linkedFile /data/$linkedFile [[ -f /data/$linkedFile || -d /data/$linkedFile ]] || ln -s /minecraft/$linkedFile /data/$linkedFile
done done
for copyedFile in "${toCoptFiles[@]}" for copyedFile in "${toCoptFiles[@]}"