1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/filebrowser_ynh.git synced 2024-09-03 18:36:05 +02:00
This commit is contained in:
ericgaspar 2022-04-02 09:38:04 +02:00
parent 1790b09e09
commit 65e5a1cd15
2 changed files with 1 additions and 1 deletions

View file

@ -26,7 +26,6 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
ynh_script_progression --message="Loading installation settings..." --weight=1
# Needed for helper "ynh_add_nginx_config"
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
port=$(ynh_app_setting_get --app=$app --key=port)
datadir=$(ynh_app_setting_get --app=$app --key=datadir)

View file

@ -67,6 +67,7 @@ ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod -R +x "$final_path/filebrowser"
#=================================================
# RESTORE THE DATA DIRECTORY