[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
'rpm -q' exit value
- From: Toralf Lund <toralf procaptura com>
- To: RPM Mailing List <rpm-list redhat com>
- Subject: 'rpm -q' exit value
- Date: Fri, 06 Jan 2006 11:11:20 +0100
[ Note: This is a repost of a message that may have been blocked due to
errors in our DNS setup. I appologise if you have received it earlier. ]
I have found that at least on some rpm versions,
rpm -q <package list>
will return (as exit value) the number of packages in <package list>
that are *not* installed. Is this defined behaviour that I can rely on?
On other words, can I assume in scripts etc. that I will always get this
behaviour, regardless of rpm version.
- Toralf
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]