From 1129af56f83333b76f04989360c46b3ba750066b Mon Sep 17 00:00:00 2001 From: Philipp Mundhenk Date: Sun, 25 Feb 2024 19:57:11 +0100 Subject: [PATCH] more backward compatibility fixes --- files/runScanner.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/runScanner.sh b/files/runScanner.sh index 1452a4d..4d70e58 100755 --- a/files/runScanner.sh +++ b/files/runScanner.sh @@ -93,16 +93,16 @@ WEBSERVER_LABEL_SCANTOFILE="${WEBSERVER_LABEL_SCANTOFILE:-$RENAME_GUI_SCANTOFILE WEBSERVER_LABEL_SCANTOEMAIL="${WEBSERVER_LABEL_SCANTOEMAIL:-$RENAME_GUI_SCANTOEMAIL}" WEBSERVER_LABEL_SCANTOIMAGE="${WEBSERVER_LABEL_SCANTOIMAGE:-$RENAME_GUI_SCANTOIMAGE}" WEBSERVER_LABEL_SCANTOOCR="${WEBSERVER_LABEL_SCANTOOCR:-$RENAME_GUI_SCANTOOCR}" -if [ "${DISABLE_GUI_SCANTOFILE:-false}" ]; then +if [ "${DISABLE_GUI_SCANTOFILE:-false}" = "true" ]; then WEBSERVER_LABEL_SCANTOFILE="" fi -if [ "${DISABLE_GUI_SCANTOEMAIL:-false}" ]; then +if [ "${DISABLE_GUI_SCANTOEMAIL:-false}" = "true" ]; then WEBSERVER_LABEL_SCANTOEMAIL="" fi -if [ "${DISABLE_GUI_SCANTOIMAGE:-false}" ]; then +if [ "${DISABLE_GUI_SCANTOIMAGE:-false}" = "true" ]; then WEBSERVER_LABEL_SCANTOIMAGE="" fi -if [ "${DISABLE_GUI_SCANTOOCR:-false}" ]; then +if [ "${DISABLE_GUI_SCANTOOCR:-false}" = "true" ]; then WEBSERVER_LABEL_SCANTOOCR="" fi #--------------------------------------------------------