Update 20-folders.sh

This commit is contained in:
Alexandre
2022-11-12 22:35:22 +01:00
committed by GitHub
parent 2bb579b82b
commit bf50bd37c4

View File

@@ -11,3 +11,7 @@ fi
chmod -R 755 /config/addons_config/$slug
chown -R paperless:paperless /config/addons_config/$slug
if [ -f /etc/cont-init.d/90-config_yaml.sh ]; then
sed -i "/# Export the variable/a sed -i \"/file_env()/a export \$line\" /sbin/docker-entrypoint.sh" /etc/cont-init.d/90-config_yaml.sh
echo "config.yaml enabled"
fi