blob: bcaf9ff5b3c9be2c7d6ed4e7558d4ff82ce89518 [file] [log] [blame]
.TH dpkg\-vendor 1 "2011-07-04" "Debian Project" "dpkg suite"
dpkg\-vendor \- queries information about distribution vendors
.B dpkg\-vendor
.RI [ option "...] " command
\fBdpkg\-vendor\fP is a tool to query information about vendors listed in
\fB/etc/dpkg/origins\fP. \fB/etc/dpkg/origins/default\fP contains
information about the current vendor.
.BI \-\-is " vendor"
Exits with \fB0\fP if the current vendor is \fIvendor\fP. Otherwise exits
with non-zero.
.BI \-\-derives\-from " vendor"
Exits with \fB0\fP if the current vendor distribution is a derivative of
\fIvendor\fP, otherwise exits with non-zero. It uses the "Parent" field
to browse all ancestors of the current vendor.
.BI \-\-query " field"
Print on standard output the value of the vendor-specific \fIfield\fP for
the current vendor.
.B \-\-help
Show the usage message and exit.
.B \-\-version
Show the version and exit.
.BI \-\-vendor " vendor"
Assumes the current vendor is \fIvendor\fP instead of discovering it
with the \fBDEB_VENDOR\fP environment variable or
This setting defines the current vendor. If not set, it will discover the
current vendor by reading \fB/etc/dpkg/origins/default\fP.
Copyright \(co 2009 Rapha\[:e]l Hertzog
This is free software; see the GNU General Public Licence version 2 or
later for copying conditions. There is NO WARRANTY.