mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-06 03:44:53 +01:00
Update 99-configuration
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
##################
|
||||
|
||||
#Set media dir
|
||||
MEDIADIR=$(bashio::config 'storage_dir')
|
||||
MEDIADIR='"'$(bashio::config 'storage_dir')'"'
|
||||
#clean data
|
||||
sed -i '/MEDIA_DIR/d' /data/config/papermerge.conf.py
|
||||
#add data
|
||||
@@ -13,7 +13,7 @@
|
||||
bashio::log.info "Storage dir set to $MEDIADIR"
|
||||
|
||||
#Set import dir
|
||||
IMPORTDIR="$(bashio::config 'import_dir')"
|
||||
IMPORTDIR='"'$(bashio::config 'import_dir')'"'
|
||||
sed -i "2 i\export IMPORTER_DIR=$IMPORTDIR" /etc/services.d/papermerge/run
|
||||
bashio::log.info "Import dir set to $IMPORTDIR"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user