mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
fix shared folders linking
This commit is contained in:
parent
7cff82ecc1
commit
541acbdd09
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue