apt-extracttemplates.1.xml 2.5 KB

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