Fix some bad bug...

This commit is contained in:
Josué Tille 2020-03-27 14:44:29 +01:00
parent 1e2e1742d7
commit a39239a20c
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -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 () {