Ubuntu Manpages

dpkg-vendor

queries information about distribution vendors

dpkg-vendor [option...] command

dpkg-vendor is a tool to query information about vendors listed in /etc/dpkg/origins. /etc/dpkg/origins/default contains information about the current vendor.

Exits with 0 if the current vendor is vendor. Otherwise exits with non-zero.
Exits with 0 if the current vendor distribution is a derivative of vendor, otherwise exits with non-zero. It uses the Parent field to browse all ancestors of the current vendor.
Print on standard output the value of the vendor-specific field for the current vendor.
Show the usage message and exit.
Show the version and exit.

Assumes the current vendor is vendor instead of discovering it with the DEB_VENDOR environment variable or /etc/dpkg/origins/default.

This setting defines the current vendor. If not set, it will discover the current vendor by reading /etc/dpkg/origins/default.

deb-origin(5).