From 39d0808ab3386f76a81babe9f029552fe293cc5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 16 Feb 2023 15:34:59 +0100 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.