summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-11 15:19:09 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-02-02 16:44:15 -0800
commit653556333b87fdab40001068671f029829de6d2a (patch)
tree9839142d1a04aa9bd4fa1d3aafb879e2923c2556 /doc
parent8c37028da6ed96005a02f40694ef62e6b702814d (diff)
downloadrpm-653556333b87fdab40001068671f029829de6d2a.tar.gz
rpm-653556333b87fdab40001068671f029829de6d2a.tar.bz2
rpm-653556333b87fdab40001068671f029829de6d2a.zip
Provide rpmqpack
a fast way to list all installed packages are check if some package is installed. This is a hack.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/rpmqpack.825
2 files changed, 26 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 5f3dbf102..3921f2472 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -8,7 +8,7 @@ EXTRA_DIST += $(man_man1_DATA)
man_man8dir = $(mandir)/man8
man_man8_DATA = rpm.8 rpmbuild.8 rpmdeps.8 rpmgraph.8 rpm2cpio.8
-man_man8_DATA += rpmdb.8 rpmkeys.8 rpmsign.8 rpmspec.8
+man_man8_DATA += rpmdb.8 rpmkeys.8 rpmsign.8 rpmspec.8 rpmqpack.8
EXTRA_DIST += $(man_man8_DATA)
man_fr_man8dir = $(mandir)/fr/man8
diff --git a/doc/rpmqpack.8 b/doc/rpmqpack.8
new file mode 100644
index 000000000..36818d391
--- /dev/null
+++ b/doc/rpmqpack.8
@@ -0,0 +1,25 @@
+.TH RPMQPACK 8 "Mar 2002"
+.SH NAME
+rpmqpack \- check for installed rpm packages
+
+.SH SYNOPSIS
+.B rpmqpack
+.RI [ pack1 "] [" pack2 ]...
+
+.SH DESCRIPTION
+rpmqpack checks if packages given as arguments are installed in
+the system. It prints each installed package to stdout.
+If no arguments are given all installed packages are printed.
+
+.SH EXIT STATUS
+rpmqpack returns 0 if all given packages are installed, otherwise
+1.
+
+.SH SEE ALSO
+.BR rpm (1)
+
+.SH COPYRIGHT
+2002 SuSE Linux AG Nuernberg, Germany.
+
+.SH AUTHOR
+Michael Schroeder <mls@suse.de>