mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
updgrade creates correct symlink to seafile-data
Bugfix: update script was creating symbolic link to seafile-data inside wrong folder ``` lrwxrwxrwx 1 seafile seafile 31 Oct 26 11:21 /opt/yunohost/seafile/seafile-data/seafile-data -> /home/yunohost.app/seafile-data ``` Only one-level of seafile-data is required.
This commit is contained in:
parent
754d085c8f
commit
079eb9ad9b
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if [ $final_path == "/var/www/$app" ]; then
|
|||
# Data directory empty, so considere that all data are already in /home/yunohost.app/seafile
|
||||
mv /opt/yunohost/$app/seafile-data/* /home/yunohost.app/seafile-data/
|
||||
ynh_secure_remove $final_path/seafile_data
|
||||
ln -s $seafile_data $final_path/seafile_data
|
||||
ln -s /home/yunohost.app/seafile-data $final_path/
|
||||
fi
|
||||
ln -s $final_path/logs /var/log/seafile
|
||||
set_permission
|
||||
|
|
Loading…
Reference in a new issue