mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix some bad bug...
This commit is contained in:
parent
1e2e1742d7
commit
a39239a20c
1 changed files with 3 additions and 0 deletions
|
@ -33,7 +33,10 @@ install_dependance() {
|
|||
set_permission() {
|
||||
chown -R $seafile_user:$seafile_user $final_path
|
||||
# check that this directory exist because in some really old install the data could still be in the main seafile directory
|
||||
# We also check at the install time when data directory is not already initialised
|
||||
test -e /home/yunohost.app/seafile-data && chown -R $seafile_user:$seafile_user /home/yunohost.app/seafile-data
|
||||
# Well need to put this here because if test return false, set_permission also return false and the install fail
|
||||
true
|
||||
}
|
||||
|
||||
ynh_clean_setup () {
|
||||
|
|
Loading…
Add table
Reference in a new issue