1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rainloop_ynh.git synced 2024-09-03 20:16:18 +02:00

correct PATH

This commit is contained in:
Yalh 2019-01-27 23:26:12 +01:00
parent 30645d06e0
commit e6ef237695
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@
"fr": "Choisissez la langue de l'application" "fr": "Choisissez la langue de l'application"
}, },
"choices": ["fr", "en"], "choices": ["fr", "en"],
"default": "fr" "default": "en"
}, },
{ {
"name": "password", "name": "password",

View file

@ -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" ### 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 final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder" 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 # Normalize the url path syntax

View file

@ -30,7 +30,7 @@ lang=$(ynh_app_setting_get $app lang)
language=$lang language=$lang
ynh_app_setting_set $app language $language ynh_app_setting_set $app language $language
rainloop_path=${final_path}/app rainloop_path=$final_path/app
#================================================= #=================================================
# ENSURE DOWNWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY