apt-extracttemplates.1.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. ]>
  7. <refentry>
  8. &apt-docinfo;
  9. <refmeta>
  10. <refentrytitle>apt-extracttemplates</refentrytitle>
  11. <manvolnum>1</manvolnum>
  12. </refmeta>
  13. <!-- Man page title -->
  14. <refnamediv>
  15. <refname>apt-extracttemplates</refname>
  16. <refpurpose>Utility to extract DebConf config and templates from Debian packages</refpurpose>
  17. </refnamediv>
  18. <!-- Arguments -->
  19. <refsynopsisdiv>
  20. <cmdsynopsis>
  21. <command>apt-extracttemplates</command>
  22. <arg><option>-hv</option></arg>
  23. <arg><option>-t=<replaceable>temporary directory</replaceable></option></arg>
  24. <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
  25. </cmdsynopsis>
  26. </refsynopsisdiv>
  27. <refsect1><title>Description</title>
  28. <para><command>apt-extracttemplates</command> will take one or more Debian package files
  29. as input and write out (to a temporary directory) all associated config
  30. scripts and template files. For each passed in package that contains
  31. config scripts and templates, one line of output will be generated
  32. in the format:</para>
  33. <para>package version template-file config-script</para>
  34. <para>template-file and config-script are written to the temporary directory
  35. specified by the -t or --tempdir (<literal>APT::ExtractTemplates::TempDir</literal>)
  36. directory, with filenames of the form <filename>package.template.XXXX</filename> and
  37. <filename>package.config.XXXX</filename></para>
  38. </refsect1>
  39. <refsect1><title>options</title>
  40. &apt-cmdblurb;
  41. <variablelist>
  42. <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term>
  43. <listitem><para>
  44. Temporary directory in which to write extracted debconf template files
  45. and config scripts
  46. Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem>
  47. </varlistentry>
  48. &apt-commonoptions;
  49. </variablelist>
  50. </refsect1>
  51. <refsect1><title>See Also</title>
  52. <para>&apt-conf;</para>
  53. </refsect1>
  54. <refsect1><title>Diagnostics</title>
  55. <para>
  56. <command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
  57. </refsect1>
  58. &manbugs;
  59. &manauthor;
  60. </refentry>