apt-extracttemplates.1.xml 2.4 KB

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