mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 99-configuration
This commit is contained in:
@@ -14,7 +14,10 @@
|
|||||||
|
|
||||||
#Set import dir
|
#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
|
#clean data
|
||||||
|
sed -i '/IMPORTER_DIR/d' /data/config/papermerge.conf.py || true
|
||||||
|
#add data
|
||||||
|
sed -i "2 i\IMPORTER_DIR = $MEDIADIR" /data/config/papermerge.conf.py
|
||||||
bashio::log.info "Import dir set to $IMPORTDIR"
|
bashio::log.info "Import dir set to $IMPORTDIR"
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|||||||
Reference in New Issue
Block a user