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"