1 .\" dpkg manual page - dpkg-vendor(1)
3 .\" Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
5 .\" This is free software; you can redistribute it and/or modify
6 .\" it under the terms of the GNU General Public License as published by
7 .\" the Free Software Foundation; either version 2 of the License, or
8 .\" (at your option) any later version.
10 .\" This is distributed in the hope that it will be useful,
11 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
12 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 .\" GNU General Public License for more details.
15 .\" You should have received a copy of the GNU General Public License
16 .\" along with this program. If not, see <https://www.gnu.org/licenses/>.
18 .TH dpkg\-vendor 1 "%RELEASE_DATE%" "%VERSION%" "dpkg suite"
21 dpkg\-vendor \- queries information about distribution vendors
25 .RI [ option "...] " command
28 \fBdpkg\-vendor\fP is a tool to query information about vendors listed in
29 \fB%PKGCONFDIR%/origins\fP. \fB%PKGCONFDIR%/origins/default\fP contains
30 information about the current vendor.
35 Exits with \fB0\fP if the current vendor is \fIvendor\fP. Otherwise exits
38 .BI \-\-derives\-from " vendor"
39 Exits with \fB0\fP if the current vendor distribution is a derivative of
40 \fIvendor\fP, otherwise exits with \fB1\fP.
41 It uses the \fBParent\fP field to browse all ancestors of the current vendor.
43 .BI \-\-query " field"
44 Print on standard output the value of the vendor-specific \fIfield\fP for
48 Show the usage message and exit.
51 Show the version and exit.
55 .BI \-\-vendor " vendor"
56 Assumes the current vendor is \fIvendor\fP instead of discovering it
57 with the \fBDEB_VENDOR\fP environment variable or
58 \fB%PKGCONFDIR%/origins/default\fP.
63 This setting defines the current vendor. If not set, it will discover the
64 current vendor by reading \fB%PKGCONFDIR%/origins/default\fP.