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>
26 <!-- Man page title -->
28 <refname>apt-extracttemplates
</refname>
29 <refpurpose>Utility to extract DebConf config and templates from Debian packages
</refpurpose>
35 <command>apt-extracttemplates
</command>
36 <arg><option>-hv
</option></arg>
37 <arg><option>-t=
<replaceable>temporary directory
</replaceable></option></arg>
38 <arg choice=
"plain" rep=
"repeat"><replaceable>file
</replaceable></arg>
42 <refsect1><title>Description
</title>
43 <para><command>apt-extracttemplates
</command> will take one or more Debian package files
44 as input and write out (to a temporary directory) all associated config
45 scripts and template files. For each passed in package that contains
46 config scripts and templates, one line of output will be generated
48 <para>package version template-file config-script
</para>
49 <para>template-file and config-script are written to the temporary directory
50 specified by the -t or --tempdir (
<literal>APT::ExtractTemplates::TempDir
</literal>)
51 directory, with filenames of the form
<filename>package.template.XXXX
</filename> and
52 <filename>package.config.XXXX
</filename></para>
55 <refsect1><title>options
</title>
59 <varlistentry><term><option>-t
</option></term><term><option>--tempdir
</option></term>
61 Temporary directory in which to write extracted debconf template files
63 Configuration Item:
<literal>APT::ExtractTemplates::TempDir
</literal></para></listitem>
73 <refsect1><title>See Also
</title>
74 <para>&apt-conf;
</para>
77 <refsect1><title>Diagnostics
</title>
78 <para><command>apt-extracttemplates
</command> returns zero on normal operation, decimal
100 on error.
</para>