fix shared folders linking

This commit is contained in:
Gerrit Gogel 2021-11-11 19:55:19 +03:00
parent 7cff82ecc1
commit 541acbdd09

View file

@ -30,7 +30,8 @@ dirs=(
for d in ${dirs[*]}; do for d in ${dirs[*]}; do
src=/shared/seafile/$d src=/shared/seafile/$d
if [[ -e $src ]]; then 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 fi
done done