aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/tests/test_archsetup.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-20 15:52:40 -0500
committerCraig Jennings <c@cjennings.net>2026-07-20 15:52:40 -0500
commitdd41036329e28a46a7269025657d782736c5d84d (patch)
treeb9f595f62496639dcaa4309530e12a71ca64d929 /scripts/testing/tests/test_archsetup.py
parent68c1d8b859b20a5a6858c59d3e320c0d1079bb0c (diff)
downloadarchsetup-dd41036329e28a46a7269025657d782736c5d84d.tar.gz
archsetup-dd41036329e28a46a7269025657d782736c5d84d.zip
fix(installer): guard the cp and chmod that install helper scripts
With `set -e` off, the installer copied its zfs-replicate, zfs-pre-snapshot, and hypr-live-update-guard scripts into place with bare cp/chmod. A missing or partial source failed silently, leaving a systemd service with a dead ExecStart or a pacman hook pointing at a script that never landed. The two zfs scripts now install through install_executable, which guards the copy, warns on failure, and skips the chmod when the copy did not land. The two live-update-guard chmods (the guard binary and its hook) are guarded inline with error_warn.
Diffstat (limited to 'scripts/testing/tests/test_archsetup.py')
0 files changed, 0 insertions, 0 deletions