xbps-bin: when listing files, do not ignore links.

--HG--
extra : convert_revision : fb8661a02b4574baa9cff3826b54adae7bb71438
This commit is contained in:
Juan RP 2009-05-07 15:16:48 +00:00
parent ee0b03401a
commit 0bad2ab06a

View File

@ -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) {