mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -13,6 +13,7 @@ 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
|
||||
sed -i "/# Export the variable/a sed -i \"1a export \$line\" /sbin/docker-entrypoint.sh" /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" /etc/cont-init.d/90-config_yaml.sh
|
||||
echo "config.yaml enabled"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user