From 0bad2ab06a39c376078fb5907dbaff7b1d5e7796 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 7 May 2009 15:16:48 +0000 Subject: [PATCH] xbps-bin: when listing files, do not ignore links. --HG-- extra : convert_revision : fb8661a02b4574baa9cff3826b54adae7bb71438 --- bin/xbps-repo/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-repo/util.c b/bin/xbps-repo/util.c index 1c13015f4ee..1efb0cc9331 100644 --- a/bin/xbps-repo/util.c +++ b/bin/xbps-repo/util.c @@ -244,7 +244,7 @@ show_pkg_files(prop_object_t obj, void *arg, bool *loop_done) prop_dictionary_get_cstring_nocopy(obj, "file", &file); prop_dictionary_get_cstring_nocopy(obj, "type", &type); - if (strcmp(type, "file") != 0) + if (strcmp(type, "dir") == 0) return 0; if (sfc->check_hash == false && file != NULL) {