From f1a7402f375a17258ecd63a51e49c2e6ede77818 Mon Sep 17 00:00:00 2001 From: Rafi594 Date: Wed, 23 Oct 2019 11:16:32 +0200 Subject: [PATCH] Fix restore --- check_process | 2 +- scripts/restore | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/check_process b/check_process index 4fa4ee6..f8d85fb 100644 --- a/check_process +++ b/check_process @@ -25,7 +25,7 @@ multi_instance=0 incorrect_path=0 port_already_use=1 - change_url=1 + change_url=0 ;;; Levels # If the level 5 (Package linter) is forced to 1. Please add justifications here. diff --git a/scripts/restore b/scripts/restore index 49b3cb6..238e74a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -26,7 +26,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) final_path=$(ynh_app_setting_get --app=$app --key=final_path) -home_path=$(ynh_app_setting_get --app=$app --key=home_path) #================================================= # CHECK IF THE APP CAN BE RESTORED @@ -65,7 +64,7 @@ ynh_restore_file --origin_path="$home_path" # Restore permissions on app files chown -R root: $final_path -chown -R minetest: $home_path +chown -R minetest: /home/yunohost.app/minetest #================================================= # SPECIFIC RESTORATION