toolkit/func/core/pkg_archive/20-gzip-bin-test.sh
2022-11-21 15:10:16 -06:00

14 lines
299 B
Bash
Executable File

#!/bin/bash
r_log "archive" "Verifying gzip binaries"
echo -n "Processing; "
for bin in gunzip gzexe gzip zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew; do
echo -n "$bin "
r_log "archive" "$bin"
$bin --version &> /dev/null || r_checkExitStatus 1
done
echo
r_checkExitStatus 0