From 3457ed5610b92f1a77846c97c442a13354e1e592 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 27 May 2020 18:41:09 +0200 Subject: [PATCH] fix --- scripts/backup | 4 +--- scripts/install | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/backup b/scripts/backup index 557e38d..cf15b1c 100644 --- a/scripts/backup +++ b/scripts/backup @@ -19,7 +19,7 @@ ynh_abort_if_errors #================================================= # LOAD SETTINGS #================================================= -ynh_print_info --message="Backing up $app..." +ynh_print_info --message="Backing up The Lounge..." app=$YNH_APP_INSTANCE_NAME @@ -33,8 +33,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain) ynh_backup --src_path="$final_path" -ynh_backup --src_path="$config_path" - #================================================= # BACKUP THE NGINX CONFIGURATION #================================================= diff --git a/scripts/install b/scripts/install index 645f535..d1241a5 100644 --- a/scripts/install +++ b/scripts/install @@ -35,7 +35,7 @@ app=$YNH_APP_INSTANCE_NAME ynh_script_progression --message="Validating installation parameters..." final_path=/var/www/$app -config_path=/home/yunohost.app/$app/ +config_path=/home/yunohost.app/$app test ! -e "$final_path" || ynh_die "This path already contains a folder"