mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 06:44:06 +02:00
Delete variables.sh
This commit is contained in:
@@ -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
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user