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" [
5 <!ENTITY % aptent SYSTEM
"apt.ent">
13 &apt-author.jgunthorpe;
17 <!-- The last update date -->
18 <date>29 February
2004</date>
22 <refentrytitle>apt-extracttemplates
</refentrytitle>
23 <manvolnum>1</manvolnum>
24 <refmiscinfo class=
"manual">APT
</refmiscinfo>
27 <!-- Man page title -->
29 <refname>apt-extracttemplates
</refname>
30 <refpurpose>Utility to extract DebConf config and templates from Debian packages
</refpurpose>
36 <command>apt-extracttemplates
</command>
37 <arg><option>-hv
</option></arg>
38 <arg><option>-t=
<replaceable>temporary directory
</replaceable></option></arg>
39 <arg choice=
"plain" rep=
"repeat"><replaceable>file
</replaceable></arg>
43 <refsect1><title>Description
</title>
44 <para><command>apt-extracttemplates
</command> will take one or more Debian package files
45 as input and write out (to a temporary directory) all associated config
46 scripts and template files. For each passed in package that contains
47 config scripts and templates, one line of output will be generated
49 <para>package version template-file config-script
</para>
50 <para>template-file and config-script are written to the temporary directory
51 specified by the -t or --tempdir (
<literal>APT::ExtractTemplates::TempDir
</literal>)
52 directory, with filenames of the form
<filename>package.template.XXXX
</filename> and
53 <filename>package.config.XXXX
</filename></para>
56 <refsect1><title>options
</title>
60 <varlistentry><term><option>-t
</option></term><term><option>--tempdir
</option></term>
62 Temporary directory in which to write extracted debconf template files
64 Configuration Item:
<literal>APT::ExtractTemplates::TempDir
</literal></para></listitem>
74 <refsect1><title>See Also
</title>
75 <para>&apt-conf;
</para>
78 <refsect1><title>Diagnostics
</title>
79 <para><command>apt-extracttemplates
</command> returns zero on normal operation, decimal
100 on error.
</para>