mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-13 03:11:02 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -13,7 +13,6 @@ 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" /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
|
||||
sed -i "/import os/a os.environ[\'\${line%%=*}\'] = \'\${line#*=}\'" settings.py
|
||||
echo "config.yaml enabled"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user