fix(update): retain custom config keys

This commit is contained in:
Julian lechner committed 2026-09-30 09:27:48 +02:00
1 parent 71daa05071
commit 17e8be13b7
3 files changed
+58 -25

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ sync_managed_destination() {
new_hash=$(sha256_of_file "$source_file")
fi
if [ "$relative" = config.toml ] && [ -f "$target" ]; then
content=$(printf '%s' "$content" | python3 "$(dirname -- "${BASH_SOURCE[0]}")/install-options.py" merge-toml --current "$target") || return
content=$(printf '%s' "$content" | python3 "$(dirname -- "${BASH_SOURCE[0]}")/install-options.py" merge-toml --current "$target" --statusline "$statusline_enabled") || return
needs_sub=true
new_hash=$(sha256_of_string "$content")
fi