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