[Rpm-maint] [rpm-software-management/rpm] Moving unnecessary notice about empty rpm packages to debug message. (#615)
Stanislav Nevolin
notifications at github.com
Fri Dec 21 01:47:57 UTC 2018
> Isn't that what the `--quiet` switch is for...?
No, definitely no. Because --quiet switch suppresses all output, so the output of rpm -ql of a normal package with a set of files included in will be also empty.
Example:
$ rpm -ql bzip2-devel-1.0.6-28.fc29.x86_64 | wc -l
6
$ rpm -ql --quiet bzip2-devel-1.0.6-28.fc29.x86_64 | wc -l
0
So you can't use --quiet switch to get number of package's files in a shell script.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/615#issuecomment-449210038
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181220/8655fcb6/attachment.html>
More information about the Rpm-maint
mailing list