From ed579c9c864d1c1f2dfa0929edb143238e79f812 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 7 May 2009 15:19:20 +0000 Subject: [PATCH] xbps-bin: when checking hashes, process only files. --HG-- extra : convert_revision : 8228fd7e73209b481d87f5c50cc516989307b2e4 --- bin/xbps-repo/util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/xbps-repo/util.c b/bin/xbps-repo/util.c index 1efb0cc933..eaeed0cc0a 100644 --- a/bin/xbps-repo/util.c +++ b/bin/xbps-repo/util.c @@ -252,6 +252,9 @@ show_pkg_files(prop_object_t obj, void *arg, bool *loop_done) return 0; } + if (strcmp(type, "link") == 0) + return 0; + if (sfc->check_hash && file != NULL) { printf("%s", file); if (sfc->destdir) {