mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-13 20:35:40 +02:00
fix: the skipped sub-option is reported as an app event, and counts as not applied
Sync git.upriser.nl mirror / sync (push) Skipped
Sync git.upriser.nl mirror / sync (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KkpbsMw4rQyBsxDG6ebHK2
This commit is contained in:
1 parent
9c15d14c4a
commit
77715f9f73
1 file changed
+2
-1
+2
-1
@@ -187,7 +187,8 @@ backend_apply() {
|
||||
for c in "${TO_ENABLE[@]}"; do
|
||||
# A sub-option of something that just failed isn't applied: it would be left on without its parent.
|
||||
if [[ -n "${PARENT[$c]:-}" && " ${failed[*]:-} " == *" ${PARENT[$c]} "* ]]; then
|
||||
warn "Skipping ${LABEL[$c]%%:*}: ${LABEL[${PARENT[$c]}]%%:*} didn't work."
|
||||
backend_event log "\"id\":$(json_str "$c"),\"line\":$(json_str "Skipped: ${LABEL[${PARENT[$c]}]%%:*} didn't work.")"
|
||||
failed+=("$c")
|
||||
continue
|
||||
fi
|
||||
if backend_run_component "$c" enable; then is_action "$c" || feature_record "$c" enable; else failed+=("$c"); fi
|
||||
|
||||
Reference in new issue
Block a user