Update 99-run.sh

This commit is contained in:
Alexandre
2022-09-14 18:15:37 +02:00
committed by GitHub
parent 6b17367ad1
commit 35d07a8e4b

View File

@@ -51,6 +51,7 @@ for dir in "${dirs[@]}"
do
mkdir -p "$DATA_LOCATION/$dir"
chown -R seafile:seafile "$DATA_LOCATION/$dir"
if [ -d /shared/"$dir" ]; then rm /shared/"$dir"; fi
ln -s "$DATA_LOCATION/$dir" /shared
done