From 6b18158c992fce09cc74d4f239473ff1a86d9c39 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Wed, 18 Jan 2017 01:31:44 +0000 Subject: [PATCH] Corrections of typos --- scripts/restore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index d161fd5..33dd5d5 100755 --- a/scripts/restore +++ b/scripts/restore @@ -10,8 +10,8 @@ path=$(ynh_app_setting_get $app path) domain=$(ynh_app_setting_get $app domain) final_path=$(ynh_app_setting_get $app final_path) final_logpath=$(ynh_app_setting_get $app final_logpath) -final_nginxconf=$(ynh_app_setting_get $app finalnginxconf) -final_phpconf=$(ynh_app_setting_get $app finalphpconf) +final_nginxconf=$(ynh_app_setting_get $app final_nginxconf) +final_phpconf=$(ynh_app_setting_get $app final_phpconf) # Restore sources, data and permissions sudo mkdir -p $final_path @@ -20,7 +20,7 @@ sudo chown -R www-data: $final_path # Restore logs, data & permissions sudo mkdir -p $final_logpath -sudo cp -a ./logs/* $logs/ +sudo cp -a ./logs/* $final_logpath/ sudo chown -R www-data:www-data $final_logpath # Restore NGINX configuration