From e6ef237695913d5975a64da272d54b6f4bf488e0 Mon Sep 17 00:00:00 2001 From: Yalh Date: Sun, 27 Jan 2019 23:26:12 +0100 Subject: [PATCH] correct PATH --- manifest.json | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 7960316..fdae38b 100644 --- a/manifest.json +++ b/manifest.json @@ -58,7 +58,7 @@ "fr": "Choisissez la langue de l'application" }, "choices": ["fr", "en"], - "default": "fr" + "default": "en" }, { "name": "password", diff --git a/scripts/install b/scripts/install index 95e2d17..adfff0d 100644 --- a/scripts/install +++ b/scripts/install @@ -53,7 +53,7 @@ app=$YNH_APP_INSTANCE_NAME ### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app" final_path=/var/www/$app test ! -e "$final_path" || ynh_die "This path already contains a folder" -rainloop_path=${final_path}/app +rainloop_path=$final_path/app # Normalize the url path syntax diff --git a/scripts/upgrade b/scripts/upgrade index 61f1f6e..7394b23 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,7 +30,7 @@ lang=$(ynh_app_setting_get $app lang) language=$lang ynh_app_setting_set $app language $language -rainloop_path=${final_path}/app +rainloop_path=$final_path/app #================================================= # ENSURE DOWNWARD COMPATIBILITY