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>. B<%PKGCONFDIR%/origins/default> contains
33 information about the current vendor.
39 =item B<--is> I<vendor>
41 Exits with B<0> if the current vendor is I<vendor>. Otherwise exits
44 =item B<--derives-from> I<vendor>
46 Exits with B<0> if the current vendor distribution is a derivative of
47 I<vendor>, otherwise exits with B<1>.
48 It uses the B<Parent> field to browse all ancestors of the current vendor.
50 =item B<--query> I<field>
52 Print on standard output the value of the vendor-specific I<field> for
57 Show the usage message and exit.
61 Show the version and exit.
69 =item B<--vendor> I<vendor>
71 Assumes the current vendor is I<vendor> instead of discovering it
72 with the B<DEB_VENDOR> environment variable or
73 B<%PKGCONFDIR%/origins/default>.
83 This setting defines the current vendor. If not set, it will discover the
84 current vendor by reading B<%PKGCONFDIR%/origins/default>.
88 Sets the color mode (since dpkg 1.18.5).
89 The currently accepted values are: B<auto> (default), B<always> and
94 If set, it will be used to decide whether to activate Native Language Support,
95 also known as internationalization (or i18n) support (since dpkg 1.19.0).
96 The accepted values are: B<0> and B<1> (default).