dpkg-vendor.man 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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
  21. dpkg\-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
  30. information about the current vendor.
  31. .
  32. .SH COMMANDS
  33. .TP
  34. .BI \-\-is " vendor"
  35. Exits with \fB0\fP if the current vendor is \fIvendor\fP. Otherwise exits
  36. with \fB1\fP.
  37. .TP
  38. .BI \-\-derives\-from " vendor"
  39. Exits with \fB0\fP if the current vendor distribution is a derivative of
  40. \fIvendor\fP, otherwise exits with \fB1\fP.
  41. It uses the \fBParent\fP field to browse all ancestors of the current vendor.
  42. .TP
  43. .BI \-\-query " field"
  44. Print on standard output the value of the vendor-specific \fIfield\fP for
  45. the current vendor.
  46. .TP
  47. .B \-\-help
  48. Show the usage message and exit.
  49. .TP
  50. .B \-\-version
  51. Show the version and exit.
  52. .
  53. .SH OPTIONS
  54. .TP
  55. .BI \-\-vendor " vendor"
  56. Assumes the current vendor is \fIvendor\fP instead of discovering it
  57. with the \fBDEB_VENDOR\fP environment variable or
  58. \fB%PKGCONFDIR%/origins/default\fP.
  59. .
  60. .SH ENVIRONMENT
  61. .TP
  62. \fBDEB_VENDOR\fP
  63. This setting defines the current vendor. If not set, it will discover the
  64. current vendor by reading \fB%PKGCONFDIR%/origins/default\fP.
  65. .
  66. .SH SEE ALSO
  67. .BR deb\-origin (5).