mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 23:31:50 +02:00
Tentative fix https://github.com/alexbelgium/hassio-addons/issues/1178
This commit is contained in:
@@ -91,8 +91,9 @@ for variable in PAPERLESS_DATA_DIR PAPERLESS_MEDIA_ROOT PAPERLESS_CONSUMPTION_DI
|
||||
#if [[ "$variablecontent" = *" "* ]] && [[ "$variable" != "PAPERLESS_OCR_LANGUAGES" ]]; then
|
||||
# variablecontent="\"$variablecontent\""
|
||||
#fi
|
||||
bashio::log.blue "$variable=$variablecontent"
|
||||
|
||||
bashio::log.blue "$variable=\"$variablecontent\""
|
||||
# Add to entrypoint
|
||||
sed -i "1a export $variable=\"$variablecontent\"" /sbin/docker-entrypoint.sh
|
||||
# Export
|
||||
export "$variable"="$variablecontent"
|
||||
# Add to bashrc
|
||||
|
||||
Reference in New Issue
Block a user