apt-extracttemplates.1.sgml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!-- -*- mode: sgml; mode: fold -*- -->
  2. <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
  3. <!ENTITY % aptent SYSTEM "apt.ent">
  4. %aptent;
  5. ]>
  6. <refentry>
  7. &apt-docinfo;
  8. <refmeta>
  9. <refentrytitle>apt-extracttemplates</>
  10. <manvolnum>1</>
  11. </refmeta>
  12. <!-- Man page title -->
  13. <refnamediv>
  14. <refname>apt-extracttemplates</>
  15. <refpurpose>Utility to extract DebConf config and templates from Debian packages</>
  16. </refnamediv>
  17. <!-- Arguments -->
  18. <refsynopsisdiv>
  19. <cmdsynopsis>
  20. <command>apt-extracttemplate</>
  21. <arg><option>-hv</></arg>
  22. <arg><option>-t=<replaceable/temporary directory/</></arg>
  23. <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
  24. </cmdsynopsis>
  25. </refsynopsisdiv>
  26. <RefSect1><Title>Description</>
  27. <para>
  28. <command/apt-extracttemplates/ 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:
  33. <para>
  34. package version template-file config-script
  35. <para>
  36. template-file and config-script are written to the temporary directory
  37. specified by the -t or --tempdir (<literal/APT::ExtractTemplates::TempDir/>)
  38. directory, with filenames of the form <filename>template.XXXX</> and
  39. <filename>config.XXXX</>
  40. </RefSect1>
  41. <RefSect1><Title>Options</>
  42. &apt-cmdblurb;
  43. <VariableList>
  44. <VarListEntry><term><option/-t/</><term><option/--tempdir/</>
  45. <ListItem><Para>
  46. Temporary directory in which to write extracted debconf template files
  47. and config scripts
  48. Configuration Item: <literal/APT::ExtractTemplates::TempDir/.
  49. </VarListEntry>
  50. &apt-commonoptions;
  51. </VariableList>
  52. </RefSect1>
  53. <RefSect1><Title>See Also</>
  54. <para>
  55. &apt-conf;
  56. </RefSect1>
  57. <RefSect1><Title>Diagnostics</>
  58. <para>
  59. <command/apt-extracttemplates/ returns zero on normal operation, decimal 100 on error.
  60. </RefSect1>
  61. &manbugs;
  62. &manauthor;
  63. </refentry>