| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!-- -*- mode: sgml; mode: fold -*- -->
- <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
- <!ENTITY % aptent SYSTEM "apt.ent">
- %aptent;
- ]>
- <refentry>
- &apt-docinfo;
-
- <refmeta>
- <refentrytitle>apt-extracttemplates</>
- <manvolnum>1</>
- </refmeta>
-
- <!-- Man page title -->
- <refnamediv>
- <refname>apt-extracttemplates</>
- <refpurpose>Utility to extract DebConf config and templates from Debian packages</>
- </refnamediv>
- <!-- Arguments -->
- <refsynopsisdiv>
- <cmdsynopsis>
- <command>apt-extracttemplate</>
- <arg><option>-hv</></arg>
- <arg><option>-t=<replaceable/temporary directory/</></arg>
- <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
-
- <RefSect1><Title>Description</>
- <para>
- <command/apt-extracttemplates/ will take one or more Debian package files
- as input and write out (to a temporary directory) all associated config
- scripts and template files. For each passed in package that contains
- config scripts and templates, one line of output will be generated
- in the format:
- <para>
- package version template-file config-script
- <para>
- template-file and config-script are written to the temporary directory
- specified by the -t or --tempdir (<literal/APT::ExtractTemplates::TempDir/>)
- directory, with filenames of the form <filename>template.XXXX</> and
- <filename>config.XXXX</>
- </RefSect1>
-
- <RefSect1><Title>Options</>
- &apt-cmdblurb;
- <VariableList>
- <VarListEntry><term><option/-t/</><term><option/--tempdir/</>
- <ListItem><Para>
- Temporary directory in which to write extracted debconf template files
- and config scripts
- Configuration Item: <literal/APT::ExtractTemplates::TempDir/.
- </VarListEntry>
- &apt-commonoptions;
-
- </VariableList>
-
-
- </RefSect1>
- <RefSect1><Title>See Also</>
- <para>
- &apt-conf;
- </RefSect1>
- <RefSect1><Title>Diagnostics</>
- <para>
- <command/apt-extracttemplates/ returns zero on normal operation, decimal 100 on error.
- </RefSect1>
- &manbugs;
- &manauthor;
-
- </refentry>
|