mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 99-configuration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user