Files
hassio-addons/.templates
Claude f00c8b9210 fix(global_var): non-destructive .env writes; correct shell quoting
Three minimum-scope robustness fixes in .templates/00-global_var.sh:

1. shell_quote no longer doubles backslashes inside single quotes
   (e.g. 'C:\Users\test' was producing 'C:\\Users\\test' in injected
   scripts) and now uses the canonical '\'' escape for single quotes
   instead of the buggy '"'"' + trailing-space-trim form, which was
   mangling values containing apostrophes (e.g. "it's" -> "it' s").

2. /.env and /etc/environment are now patched in place: existing
   content from the upstream image and the system (PATH, LANG, etc.)
   is preserved and only the marked ADDON ENV block is replaced.
   Previously the whole files were overwritten, destroying upstream
   defaults.

3. Writing to /var/run/s6/container_environment is now best-effort
   (|| true) so a read-only mount on a single entry cannot abort the
   rest of the env injection under set -e.
2026-05-18 13:32:17 +00:00
..
2024-01-20 07:51:27 +01:00
2026-01-13 18:38:25 +01:00
2026-03-07 21:28:55 +01:00
2025-07-23 08:58:09 +00:00
2026-02-08 12:56:30 +01:00
2025-07-23 08:58:09 +00:00
2024-01-15 21:26:15 +01:00
2025-08-02 13:18:42 +02:00
2023-12-30 11:31:14 +01:00
2023-09-05 21:16:44 +02:00