diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-09-02 16:59:30 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-09-02 16:59:30 +0000 |
| commit | 3d6373874f3972b776dd48e86321b1f8c78cd23b (patch) | |
| tree | 40dc43bd29bc4c7370ed5c32b1a802cbc1db9c1a /src/test_compactblock.cpp | |
| parent | 9886a4680cd669f376eec1bf18da7ad10057dd38 (diff) | |
build: say so when apt-get update fails instead of passing over it
34cb6e6 added `apt-get update;` before the install. The semicolon means
a failed update does not stop the install, which is the behaviour we
want -- one unreachable repository should not block an install the
lists already on disk can satisfy -- but it was punctuation rather than
a decision, and it was silent. The install then failed several seconds
later with "unable to locate package" and nothing tied the two
together.
Kept it non-fatal, made it explicit with `|| echo`, and wrote the
reasoning down next to it. The install itself is still the last command
in the branch, so a failed install is still the target's status.
Measured all four combinations with apt-get shimmed: a failed update
now warns and carries on, a failed install still aborts.
Diffstat (limited to 'src/test_compactblock.cpp')
0 files changed, 0 insertions, 0 deletions