From ddeaf82aec8c751d4f8577b9b2dd1ba27d0e53a6 Mon Sep 17 00:00:00 2001 From: frju365 Date: Tue, 7 Mar 2017 20:11:04 +0100 Subject: [PATCH] Update restore --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index e66d1fd..d4fa5a3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -5,8 +5,9 @@ set -eu source /usr/share/yunohost/helpers # Retrieve old app settings -domain=$(ynh_app_setting_get $app domain) app="jappix" +domain=$(ynh_app_setting_get $app domain) + # Restore sources & data sudo cp -a ./sources "/var/www/${app}"