diff --git a/scripts/_common.sh b/scripts/_common.sh index d35455f..9aec9bd 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -42,10 +42,10 @@ ep_font_size_version=0.4.44 ynh_maintenance_mode_ON () { # Load value of $path and $domain from the config if their not set if [ -z $path ]; then -#REMOVEME? path=$(ynh_app_setting_get $app path) + path=$(ynh_app_setting_get $app path) fi if [ -z $domain ]; then -#REMOVEME? domain=$(ynh_app_setting_get $app domain) + domain=$(ynh_app_setting_get $app domain) fi mkdir -p /var/www/html/ @@ -98,10 +98,10 @@ include conf.d/yunohost_panel.conf.inc; ynh_maintenance_mode_OFF () { # Load value of $path and $domain from the config if their not set if [ -z $path ]; then -#REMOVEME? path=$(ynh_app_setting_get $app path) + path=$(ynh_app_setting_get $app path) fi if [ -z $domain ]; then -#REMOVEME? domain=$(ynh_app_setting_get $app domain) + domain=$(ynh_app_setting_get $app domain) fi # Rewrite the nginx config file to redirect from ${path}_maintenance to the real url of the app.