xbps-bin: when checking hashes, process only files.

--HG--
extra : convert_revision : 8228fd7e73209b481d87f5c50cc516989307b2e4
This commit is contained in:
Juan RP 2009-05-07 15:19:20 +00:00
parent 0bad2ab06a
commit ed579c9c86

View File

@ -252,6 +252,9 @@ show_pkg_files(prop_object_t obj, void *arg, bool *loop_done)
return 0; return 0;
} }
if (strcmp(type, "link") == 0)
return 0;
if (sfc->check_hash && file != NULL) { if (sfc->check_hash && file != NULL) {
printf("%s", file); printf("%s", file);
if (sfc->destdir) { if (sfc->destdir) {