From 92189f535210481d8fc464c77c91fdf2286b7ce8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 14 Nov 2022 04:33:26 +0100 Subject: [PATCH] Delete variables.sh --- paperless_ngx/rootfs/templates/variables.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 paperless_ngx/rootfs/templates/variables.sh diff --git a/paperless_ngx/rootfs/templates/variables.sh b/paperless_ngx/rootfs/templates/variables.sh deleted file mode 100644 index 4c54ba6a4..000000000 --- a/paperless_ngx/rootfs/templates/variables.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bashio -# shellcheck shell=bash - -bashio::log.info "Defining variables" - -if bashio::config.has_value "PUID"; then export USERMAP_UID=$(bashio::config "PUID"); fi -if bashio::config.has_value "PGID"; then export USERMAP_GID=$(bashio::config "PGID"); fi -if bashio::config.has_value "TZ"; then export PAPERLESS_TIME_ZONE=$(bashio::config "TZ"); fi -if bashio::config.has_value "OCRLANG"; then export PAPERLESS_OCR_LANGUAGES=$(bashio::config "OCRLANG"); fi -if bashio::config.has_value "PAPERLESS_OCR_MODE"; then export PAPERLESS_OCR_MODE=$(bashio::config "PAPERLESS_OCR_MODE"); fi -