dpkg (1.18.25) stretch; urgency=medium
[dpkg] / man / dpkg-vendor.man
CommitLineData
1479465f
GJ
1.\" dpkg manual page - dpkg-vendor(1)
2.\"
3.\" Copyright © 2009 Raphaël Hertzog <hertzog@debian.org>
4.\"
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.
9.\"
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.
14.\"
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/>.
17.
18.TH dpkg\-vendor 1 "%RELEASE_DATE%" "%VERSION%" "dpkg suite"
19.nh
20.SH NAME
21dpkg\-vendor \- queries information about distribution vendors
22.
23.SH SYNOPSIS
24.B dpkg\-vendor
25.RI [ option "...] " command
26.
27.SH DESCRIPTION
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
30information about the current vendor.
31.
32.SH COMMANDS
33.TP
34.BI \-\-is " vendor"
35Exits with \fB0\fP if the current vendor is \fIvendor\fP. Otherwise exits
36with \fB1\fP.
37.TP
38.BI \-\-derives\-from " vendor"
39Exits with \fB0\fP if the current vendor distribution is a derivative of
40\fIvendor\fP, otherwise exits with \fB1\fP.
41It uses the \fBParent\fP field to browse all ancestors of the current vendor.
42.TP
43.BI \-\-query " field"
44Print on standard output the value of the vendor-specific \fIfield\fP for
45the current vendor.
46.TP
47.B \-\-help
48Show the usage message and exit.
49.TP
50.B \-\-version
51Show the version and exit.
52.
53.SH OPTIONS
54.TP
55.BI \-\-vendor " vendor"
56Assumes the current vendor is \fIvendor\fP instead of discovering it
57with the \fBDEB_VENDOR\fP environment variable or
58\fB%PKGCONFDIR%/origins/default\fP.
59.
60.SH ENVIRONMENT
61.TP
62\fBDEB_VENDOR\fP
63This setting defines the current vendor. If not set, it will discover the
64current vendor by reading \fB%PKGCONFDIR%/origins/default\fP.
65.
66.SH SEE ALSO
67.BR deb\-origin (5).