dpkg-vendor.1 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .TH dpkg\-vendor 1 "2011-07-04" "Debian Project" "dpkg suite"
  2. .SH NAME
  3. dpkg\-vendor \- queries information about distribution vendors
  4. .
  5. .SH SYNOPSIS
  6. .B dpkg\-vendor
  7. .RI [ option "...] " command
  8. .
  9. .SH DESCRIPTION
  10. \fBdpkg\-vendor\fP is a tool to query information about vendors listed in
  11. \fB/etc/dpkg/origins\fP. \fB/etc/dpkg/origins/default\fP contains
  12. information about the current vendor.
  13. .
  14. .SH COMMANDS
  15. .TP
  16. .BI \-\-is " vendor"
  17. Exits with \fB0\fP if the current vendor is \fIvendor\fP. Otherwise exits
  18. with non-zero.
  19. .TP
  20. .BI \-\-derives\-from " vendor"
  21. Exits with \fB0\fP if the current vendor distribution is a derivative of
  22. \fIvendor\fP, otherwise exits with non-zero. It uses the "Parent" field
  23. to browse all ancestors of the current vendor.
  24. .TP
  25. .BI \-\-query " field"
  26. Print on standard output the value of the vendor-specific \fIfield\fP for
  27. the current vendor.
  28. .TP
  29. .B \-\-help
  30. Show the usage message and exit.
  31. .TP
  32. .B \-\-version
  33. Show the version and exit.
  34. .
  35. .SH OPTIONS
  36. .TP
  37. .BI \-\-vendor " vendor"
  38. Assumes the current vendor is \fIvendor\fP instead of discovering it
  39. with the \fBDEB_VENDOR\fP environment variable or
  40. \fB/etc/dpkg/origins/default\fP.
  41. .
  42. .SH ENVIRONMENT
  43. .TP
  44. \fBDEB_VENDOR\fP
  45. This setting defines the current vendor. If not set, it will discover the
  46. current vendor by reading \fB/etc/dpkg/origins/default\fP.
  47. .
  48. .SH AUTHOR
  49. Copyright \(co 2009 Rapha\[:e]l Hertzog
  50. .sp
  51. This is free software; see the GNU General Public Licence version 2 or
  52. later for copying conditions. There is NO WARRANTY.