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