From 81247871f786213f8542f35706a95d4d7c3cecd4 Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Fri, 22 Sep 2017 21:18:12 +0200 Subject: [PATCH] Use final_path setting in backup script --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index b675bb8..f5b753c 100644 --- a/scripts/backup +++ b/scripts/backup @@ -22,7 +22,7 @@ source /usr/share/yunohost/helpers app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get $app domain) -final_path="/var/www/${app}" +final_path=$(ynh_app_setting_get "$app" final_path) db_name=$(ynh_app_setting_get $app db_name) #=================================================