From 541acbdd098a3a271235d2a6461a25b1fd1d8d52 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Thu, 11 Nov 2021 19:55:19 +0300 Subject: [PATCH] fix shared folders linking --- seafile-server/scripts/create_data_links.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seafile-server/scripts/create_data_links.sh b/seafile-server/scripts/create_data_links.sh index 1346dd3..cf8a6a0 100644 --- a/seafile-server/scripts/create_data_links.sh +++ b/seafile-server/scripts/create_data_links.sh @@ -30,7 +30,8 @@ dirs=( for d in ${dirs[*]}; do src=/shared/seafile/$d if [[ -e $src ]]; then - rm -rf /opt/seafile/$d && ln -sf $src /opt/seafile + rm -rf /opt/seafile/$d + ln -sf $src /opt/seafile fi done