Update 99-configuration

This commit is contained in:
Alexandre
2021-10-18 22:25:22 +02:00
committed by GitHub
parent 0d8e66000c
commit ddbc6716ea

View File

@@ -7,9 +7,9 @@
#Set media dir
MEDIADIR=$(bashio::config 'storage_dir')
#clean data
sed -i '/MEDIA_DIR/d' /config/papermerge.conf.py
sed -i '/MEDIA_DIR/d' /data/config/papermerge.conf.py
#add data
sed -i "2 i\MEDIA_DIR = $MEDIADIR" /config/papermerge.conf.py
sed -i "2 i\MEDIA_DIR = $MEDIADIR" /data/config/papermerge.conf.py
bashio::log.info "Storage dir set to $MEDIADIR"
#Set import dir