Skip to content

Commit

Permalink
more backward compatibility fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Feb 25, 2024
1 parent 38f02d9 commit 1129af5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#--------------------------------------------------------
Expand Down

0 comments on commit 1129af5

Please sign in to comment.