toolkit/func/core/pkg_archive/20-gzip-bin-test.sh

14 lines
299 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "archive" "Verifying gzip binaries"
2022-11-21 21:10:16 +00:00
echo -n "Processing; "
2021-07-05 06:50:25 +00:00
for bin in gunzip gzexe gzip zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew; do
2022-11-21 21:10:16 +00:00
echo -n "$bin "
2021-07-05 06:50:25 +00:00
r_log "archive" "$bin"
$bin --version &> /dev/null || r_checkExitStatus 1
done
echo
r_checkExitStatus 0