Skip to content

Commit

Permalink
added more backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Feb 25, 2024
1 parent 08e2a21 commit 1a16492
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions files/runScanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ echo "setting up webserver:"
#backwards compatibility
WEBSERVER_ENABLE="$WEBSERVER"
WEBSERVER_PORT="$PORT"
WEBSERVER_LABEL_SCANTOFILE="$RENAME_GUI_SCANTOFILE"
WEBSERVER_LABEL_SCANTOEMAIL="$RENAME_GUI_SCANTOEMAIL"
WEBSERVER_LABEL_SCANTOIMAGE="$RENAME_GUI_SCANTOIMAGE"
WEBSERVER_LABEL_SCANTOOCR="$RENAME_GUI_SCANTOOCR"
if [ "${DISABLE_GUI_SCANTOFILE:-false}" ]; then
WEBSERVER_LABEL_SCANTOFILE=""
fi
if [ "${DISABLE_GUI_SCANTOEMAIL:-false}" ]; then
WEBSERVER_LABEL_SCANTOEMAIL=""
fi
if [ "${DISABLE_GUI_SCANTOIMAGE:-false}" ]; then
WEBSERVER_LABEL_SCANTOIMAGE=""
fi
if [ "${DISABLE_GUI_SCANTOOCR:-false}" ]; then
WEBSERVER_LABEL_SCANTOOCR=""
fi

if [ "${WEBSERVER_ENABLE:-$WEBSERVER_DEFAULT}" ]; then

Expand Down

0 comments on commit 1a16492

Please sign in to comment.