FS#6442 - Prevent "pacman -Ql <package>" shows directories

Attached to Project: Pacman
Opened by Gustavo Chaín (G) - Saturday, 17 February 2007, 21:54 GMT
Last edited by Dan McGee (toofishes) - Thursday, 01 March 2007, 03:57 GMT
Task Type Feature Request
Category
Status Closed
Assigned To Dan McGee (toofishes)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 1.2.9
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I think that "pacman -Ql <package>" should only show files and not files and directories.

normal output:
$pacman -Ql pacman
pacman /etc/
pacman /etc/abs/
pacman /etc/abs/abs.conf
pacman /etc/abs/supfile.arch
pacman /etc/abs/supfile.community
pacman /etc/abs/supfile.extra
pacman /etc/abs/supfile.unstable
pacman /etc/makepkg.conf
pacman /etc/pacman.conf
pacman /etc/pacman.d/
pacman /etc/pacman.d/community
pacman /etc/pacman.d/current
pacman /etc/pacman.d/extra
pacman /etc/pacman.d/release
pacman /etc/pacman.d/unstable
pacman /usr/
pacman /usr/bin/
pacman /usr/bin/abs
pacman /usr/bin/convertdb
pacman /usr/bin/gensync
pacman /usr/bin/makepkg
pacman /usr/bin/makeworld
pacman /usr/bin/pacman
pacman /usr/bin/pacman-optimize
pacman /usr/bin/pacman.static
pacman /usr/bin/sortmirrors
pacman /usr/bin/sortmirrors.pl
pacman /usr/bin/updatesync
pacman /usr/bin/vercmp
pacman /usr/man/
pacman /usr/man/man8/
pacman /usr/man/man8/makepkg.8.gz
pacman /usr/man/man8/pacman.8.gz
pacman /var/
pacman /var/abs/
pacman /var/abs/local/

suggested output:
$pacman -Ql pacman
pacman /etc/abs/abs.conf
pacman /etc/abs/supfile.arch
pacman /etc/abs/supfile.community
pacman /etc/abs/supfile.extra
pacman /etc/abs/supfile.unstable
pacman /etc/makepkg.conf
pacman /etc/pacman.conf
pacman /etc/pacman.d/community
pacman /etc/pacman.d/current
pacman /etc/pacman.d/extra
pacman /etc/pacman.d/release
pacman /etc/pacman.d/unstable
pacman /usr/bin/abs
pacman /usr/bin/convertdb
pacman /usr/bin/gensync
pacman /usr/bin/makepkg
pacman /usr/bin/makeworld
pacman /usr/bin/pacman
pacman /usr/bin/pacman-optimize
pacman /usr/bin/pacman.static
pacman /usr/bin/sortmirrors
pacman /usr/bin/sortmirrors.pl
pacman /usr/bin/updatesync
pacman /usr/bin/vercmp
pacman /usr/man/man8/makepkg.8.gz
pacman /usr/man/man8/pacman.8.gz
This task depends upon

Closed by  Dan McGee (toofishes)
Thursday, 01 March 2007, 04:51 GMT
Reason for closing:  Implemented
Additional comments about closing:  Fixed in pacman 3 CVS.
Comment by Christoph Zeiler (Rabyte) - Wednesday, 21 February 2007, 14:17 GMT
This should be in the Arch Linux category, not AUR.
Comment by Jens Adam (byte) - Thursday, 22 February 2007, 12:53 GMT
I like the default output, but you could just use 'pacman -Ql <foo> | grep -v /$' (an alias might be appropriate).
Comment by Jaroslaw Swierczynski (swiergot) - Thursday, 22 February 2007, 14:00 GMT
Moving to Arch Linux category.
Comment by Scott H (stonecrest) - Wednesday, 28 February 2007, 00:08 GMT
It definitely shouldn't include directories. I mean, it's not like it's showing directories that the package creates since /etc certainly already exists. And the man file says that -Ql "lists all files owned by a given package", that certainly doesn't imply anything about hierarchical structure/directories.

Loading...