fixed dir check for linking
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
388ab4f38b
commit
f3247a20d3
2
start.sh
2
start.sh
@ -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[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user