Update 99-configuration

This commit is contained in:
Alexandre
2021-10-18 21:58:21 +02:00
committed by GitHub
parent 6ad37d5361
commit 881092184c

View File

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