From 4fbdfe76c920c2ef6b45ddbcc73adf7cc465fb1e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 9 Feb 2022 10:11:30 +0100 Subject: [PATCH] Fix --- scripts/backup | 2 -- scripts/restore | 7 +------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/backup b/scripts/backup index f131305..2eaa6b2 100644 --- a/scripts/backup +++ b/scripts/backup @@ -37,8 +37,6 @@ ynh_print_info --message="Declaring files to be backed up..." #================================================= ynh_backup --src_path="$final_path" -ynh_backup --src_path="/etc/vikunja/config.yml" -ynh_backup --src_path="/opt/vikunja" #================================================= # BACKUP THE NGINX CONFIGURATION diff --git a/scripts/restore b/scripts/restore index a5f7ea0..342c673 100644 --- a/scripts/restore +++ b/scripts/restore @@ -64,12 +64,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" - -ynh_restore_file --origin_path="/etc/vikunja/config.yml" - -ynh_restore_file --origin_path="/opt/vikunja" -chmod +x "/opt/vikunja/vikunja" -chown -R $app:www-data "/opt/vikunja/files" +chmod +x "$final_path/vikunja" #================================================= # REINSTALL DEPENDENCIES