Update 20-folders.sh

This commit is contained in:
Alexandre
2022-11-12 21:02:08 +01:00
committed by GitHub
parent 78752855a5
commit 1edceffe17

View File

@@ -11,8 +11,3 @@ fi
chmod -R 755 /config/addons_config/$slug
chown -R paperless:paperless /config/addons_config/$slug
# Enable variables acceptation with the specific entrypoint
if [ -f /etc/cont-init.d/90-config_yaml.sh ]; then
sed -i "/import os/a os.environ[\'\${line%%=*}\'] = \'\${line#*=}\'" settings.py
echo "config.yaml enabled"
fi