array_push($log, "Checking for tar...");
$system_rc = 0;
- system("tar --version >/dev/null", $system_rc);
+ system("which tar >/dev/null", $system_rc);
if ($system_rc != 0) {
array_push($log, "Could not run tar executable (RC=$system_rc).");
array_push($log, "Checking for gunzip...");
$system_rc = 0;
- system("gunzip --version >/dev/null", $system_rc);
+ system("which gunzip >/dev/null", $system_rc);
if ($system_rc != 0) {
array_push($log, "Could not run gunzip executable (RC=$system_rc).");