xbps-bin: when listing files, do not ignore links.
--HG-- extra : convert_revision : fb8661a02b4574baa9cff3826b54adae7bb71438
This commit is contained in:
parent
ee0b03401a
commit
0bad2ab06a
|
@ -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, "file", &file);
|
||||||
prop_dictionary_get_cstring_nocopy(obj, "type", &type);
|
prop_dictionary_get_cstring_nocopy(obj, "type", &type);
|
||||||
if (strcmp(type, "file") != 0)
|
if (strcmp(type, "dir") == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (sfc->check_hash == false && file != NULL) {
|
if (sfc->check_hash == false && file != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user