1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2024-06-07 11:08:55 +02:00
parent b90fd5d9df
commit c60c178d6a

View file

@ -17,12 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir"
mkdir -p $install_dir/sessions/
chown -R $app $install_dir/{data,plugins,sessions}
chmod -R 700 $install_dir/sessions
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R "$app:www-data" "$install_dir"
#=================================================
# RESTORE THE DATA DIRECTORY