Update restore

This commit is contained in:
ericgaspar 2023-12-03 08:21:49 +01:00
parent f19512fd0c
commit 608af51058

View file

@ -18,6 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir" ynh_restore_file --origin_path="$install_dir"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"
chmod +x "$install_dir/cells"
#================================================= #=================================================
# RESTORE THE DATA DIRECTORY # RESTORE THE DATA DIRECTORY
@ -26,9 +27,7 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1
ynh_restore_file --origin_path="$data_dir" --not_mandatory ynh_restore_file --origin_path="$data_dir" --not_mandatory
# (Same as for install dir)
chown -R "$app:www-data" "$data_dir" chown -R "$app:www-data" "$data_dir"
chmod +x "$install_dir/cells"
#================================================= #=================================================
# RESTORE THE MYSQL DATABASE # RESTORE THE MYSQL DATABASE