Update 99-configuration

This commit is contained in:
Alexandre
2021-10-19 17:43:39 +02:00
committed by GitHub
parent e838eaa91b
commit a6f9884315

View File

@@ -27,17 +27,19 @@
if [ ! -d /config ]; then
echo "Creating /config"
mkdir -p /config
chown -R abc:abc /config
fi
chown -R abc:abc /config
if [ ! -d $MEDIADIR ]; then
echo "Creating $MEDIADIR"
mkdir -p $MEDIADIR
chown -R abc:abc $MEDIADIR
fi
chown -R abc:abc $MEDIADIR
if [ ! -d $IMPORTDIR ]; then
echo "Creating $IMPORTDIR"
mkdir -p $IMPORTDIR
chown -R abc:abc $IMPORTDIR
fi
chown -R abc:abc $IMPORTDIR