Update 99-configuration.sh

This commit is contained in:
Alexandre
2022-03-22 19:23:19 +01:00
committed by GitHub
parent e856ae9024
commit 2257bdf20f

View File

@@ -1,10 +1,6 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# shellcheck shell=bash # shellcheck shell=bash
# Symlink config
ln -s /data/config/papermerge.conf.py /etc
################## ##################
# SELECT FOLDERS # # SELECT FOLDERS #
################## ##################
@@ -29,11 +25,11 @@ bashio::log.info "Import dir set to $IMPORTDIR"
# CREATE FOLDERS # # CREATE FOLDERS #
################## ##################
if [ ! -d /config ]; then #if [ ! -d /data/config ]; then
echo "Creating /config" # echo "Creating /config"
mkdir -p /config # mkdir -p /config
fi #fi
chown -R abc:abc /config #chown -R abc:abc /config
if [ ! -d "$MEDIADIR" ]; then if [ ! -d "$MEDIADIR" ]; then
echo "Creating $MEDIADIR" echo "Creating $MEDIADIR"