Alexandre
2022-11-12 08:44:04 +01:00
committed by GitHub
parent b3b9deed99
commit 13f8e2893c

View File

@@ -14,4 +14,5 @@ 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 "/# Export the variable/a sed -i \"1a export \$line\" /sbin/docker-entrypoint.sh 2>/dev/null" /etc/cont-init.d/90-config_yaml.sh
sed -i "/# Export the variable/a sed -i \"1a export \$line\" /usr/local/bin/paperless_cmd.sh 2>/dev/null" /etc/cont-init.d/90-config_yaml.sh
fi