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/>.
22 dpkg-vendor - queries information about distribution vendors
27 [I<option>...] I<command>
31 B<dpkg-vendor> is a tool to query information about vendors listed in
32 B<%PKGCONFDIR%/origins>.
33 B<%PKGCONFDIR%/origins/default> contains
34 information about the current vendor.
36 This program was introduced in dpkg 1.15.1.
42 =item B<--is> I<vendor>
44 Exits with B<0> if the current vendor is I<vendor>.
48 =item B<--derives-from> I<vendor>
50 Exits with B<0> if the current vendor distribution is a derivative of
51 I<vendor>, otherwise exits with B<1>.
52 It uses the B<Parent> field to browse all ancestors of the current vendor.
54 =item B<--query> I<field>
56 Print on standard output the value of the vendor-specific I<field> for
61 Show the usage message and exit.
65 Show the version and exit.
73 =item B<--vendor> I<vendor>
75 Assumes the current vendor is I<vendor> instead of discovering it
76 with the B<DEB_VENDOR> environment variable or
77 B<%PKGCONFDIR%/origins/default>.
87 This setting defines the current vendor.
88 If not set, it will discover the
89 current vendor by reading B<%PKGCONFDIR%/origins/default>.
93 Sets the color mode (since dpkg 1.18.5).
94 The currently accepted values are: B<auto> (default), B<always> and
99 If set, it will be used to decide whether to activate Native Language Support,
100 also known as internationalization (or i18n) support (since dpkg 1.19.0).
101 The accepted values are: B<0> and B<1> (default).