From f3247a20d3d6e4b09fd2d33376f679687f7a0988 Mon Sep 17 00:00:00 2001 From: Niklas Date: Sun, 9 May 2021 18:48:22 +0200 Subject: [PATCH] fixed dir check for linking --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index fc0c20c..2b1ce71 100755 --- a/start.sh +++ b/start.sh @@ -24,7 +24,7 @@ chmod +x LaunchServer.sh for linkedFile in "${toLinkedFiles[@]}" do - [ -f /data/$linkedFile ] || ln -s /minecraft/$linkedFile /data/$linkedFile + [[ -f /data/$linkedFile || -d /data/$linkedFile ]] || ln -s /minecraft/$linkedFile /data/$linkedFile done for copyedFile in "${toCoptFiles[@]}"