xbps-bin: silent output in check target if there are no errors.

--HG--
extra : convert_revision : 4b2d94a618a49dedb9b96163533db24cd5f67625
This commit is contained in:
Juan RP 2009-08-09 16:21:38 +02:00
parent 6e9e92bd35
commit ebd2c8b227

View file

@ -145,8 +145,6 @@ xbps_check_pkg_integrity(const char *pkgname)
goto out2;
}
printf("%s: metadata check PASSED.\n", pkgname);
/*
* Check for missing files and its hash.
*/
@ -194,8 +192,6 @@ xbps_check_pkg_integrity(const char *pkgname)
prop_object_iterator_release(iter);
if (files_broken)
printf("%s: files check FAILED.\n", pkgname);
else
printf("%s: files check PASSED.\n", pkgname);
}
/*
@ -230,10 +226,7 @@ xbps_check_pkg_integrity(const char *pkgname)
free(path);
}
prop_object_iterator_release(iter);
if (rv == 0)
printf("%s: configuration files check PASSED.\n",
pkgname);
else
if (rv != 0)
printf("%s: configuration files check FAILED.\n",
pkgname);
}
@ -260,9 +253,6 @@ xbps_check_pkg_integrity(const char *pkgname)
if (rv == ENOENT)
printf("%s: run-time dependency check FAILED.\n",
pkgname);
else
printf("%s: run-time dependency check PASSED.\n",
pkgname);
}
out2: