You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

apt-extracttemplates.1.xml 2.5 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % aptent SYSTEM "apt.ent"> %aptent;
  5. <!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> %aptverbatiment;
  6. <!ENTITY % aptvendor SYSTEM "apt-vendor.ent"> %aptvendor;
  7. ]>
  8. <refentry>
  9. <refentryinfo>
  10. &apt-author.jgunthorpe;
  11. &apt-author.team;
  12. &apt-email;
  13. &apt-product;
  14. <!-- The last update date -->
  15. <date>2014-03-27T00:00:00Z</date>
  16. </refentryinfo>
  17. <refmeta>
  18. <refentrytitle>apt-extracttemplates</refentrytitle>
  19. <manvolnum>1</manvolnum>
  20. <refmiscinfo class="manual">APT</refmiscinfo>
  21. </refmeta>
  22. <!-- Man page title -->
  23. <refnamediv>
  24. <refname>apt-extracttemplates</refname>
  25. <refpurpose>Utility to extract <command>debconf</command> config and templates from Debian packages</refpurpose>
  26. </refnamediv>
  27. &synopsis-command-apt-extracttemplates;
  28. <refsect1><title>Description</title>
  29. <para><command>apt-extracttemplates</command> will take one or more Debian package files
  30. as input and write out (to a temporary directory) all associated config
  31. scripts and template files. For each passed in package that contains
  32. config scripts and templates, one line of output will be generated
  33. in the format:</para>
  34. <para>package version template-file config-script</para>
  35. <para>template-file and config-script are written to the temporary directory
  36. specified by the <option>-t</option> or <option>--tempdir</option>
  37. (<literal>APT::ExtractTemplates::TempDir</literal>) directory,
  38. with filenames of the form <filename>package.template.XXXXXX</filename> and
  39. <filename>package.config.XXXXXX</filename></para>
  40. </refsect1>
  41. <refsect1><title>options</title>
  42. &apt-cmdblurb;
  43. <variablelist>
  44. <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term>
  45. <listitem><para>
  46. Temporary directory in which to write extracted <command>debconf</command> template files
  47. and config scripts.
  48. Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem>
  49. </varlistentry>
  50. &apt-commonoptions;
  51. </variablelist>
  52. </refsect1>
  53. <refsect1><title>See Also</title>
  54. <para>&apt-conf;</para>
  55. </refsect1>
  56. <refsect1><title>Diagnostics</title>
  57. <para><command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
  58. </refsect1>
  59. &manbugs;
  60. </refentry>