* Replace sha256sum --check --strict with verify-sig_unsigned_checksums.
Use the fact that verify-sig_unsigned_checksums in sha256 mode ignores
any line in <checksum-file>
- that doesn't match the expected format "${checksum} ${filename}".
- whose ${filename} wasn't passed as an argument.
With that knowledge, we fix the format only for the arguments of
verify-sig_unsigned_checksums only for that line.
* Check pipe status with eapi9-pipestatus instead of die.
Fixes: 24744c624e
Part-of: https://github.com/gentoo/guru/pull/419
Acked-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
* Replace sha256sum --check --strict with verify-sig_unsigned_checksums.
Use the fact that verify-sig_unsigned_checksums in sha256 mode ignores
any line in <checksum-file>
- that doesn't match the expected format "${checksum} ${filename}".
- whose ${filename} wasn't passed as an argument.
With that knowledge, we fix the format only for the arguments of
verify-sig_unsigned_checksums only for that line.
* Check pipe status with eapi9-pipestatus instead of die.
Fixes: 24744c624e
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
1) Merge a grep & awk call.
2) Match full version string instead of prefix.
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>