]> git.saurik.com Git - apt.git/blob - doc/apt-extracttemplates.1.xml
support setting empty values (sanely) & removing support for
[apt.git] / doc / apt-extracttemplates.1.xml
1 <?xml version="1.0" encoding="utf-8" standalone="no"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % aptent SYSTEM "apt.ent"> %aptent;
5 <!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> %aptverbatiment;
6 <!ENTITY % aptvendor SYSTEM "apt-vendor.ent"> %aptvendor;
7 ]>
8
9 <refentry>
10
11 <refentryinfo>
12 &apt-author.jgunthorpe;
13 &apt-author.team;
14 &apt-email;
15 &apt-product;
16 <!-- The last update date -->
17 <date>2012-06-09T00:00:00Z</date>
18 </refentryinfo>
19
20 <refmeta>
21 <refentrytitle>apt-extracttemplates</refentrytitle>
22 <manvolnum>1</manvolnum>
23 <refmiscinfo class="manual">APT</refmiscinfo>
24 </refmeta>
25
26 <!-- Man page title -->
27 <refnamediv>
28 <refname>apt-extracttemplates</refname>
29 <refpurpose>Utility to extract <command>debconf</command> config and templates from Debian packages</refpurpose>
30 </refnamediv>
31
32 &synopsis-command-apt-extracttemplates;
33
34 <refsect1><title>Description</title>
35 <para><command>apt-extracttemplates</command> will take one or more Debian package files
36 as input and write out (to a temporary directory) all associated config
37 scripts and template files. For each passed in package that contains
38 config scripts and templates, one line of output will be generated
39 in the format:</para>
40 <para>package version template-file config-script</para>
41 <para>template-file and config-script are written to the temporary directory
42 specified by the <option>-t</option> or <option>--tempdir</option>
43 (<literal>APT::ExtractTemplates::TempDir</literal>) directory,
44 with filenames of the form <filename>package.template.XXXXXX</filename> and
45 <filename>package.config.XXXXXX</filename></para>
46 </refsect1>
47
48 <refsect1><title>options</title>
49 &apt-cmdblurb;
50
51 <variablelist>
52 <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term>
53 <listitem><para>
54 Temporary directory in which to write extracted <command>debconf</command> template files
55 and config scripts.
56 Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem>
57 </varlistentry>
58
59 &apt-commonoptions;
60
61 </variablelist>
62
63
64 </refsect1>
65
66 <refsect1><title>See Also</title>
67 <para>&apt-conf;</para>
68 </refsect1>
69
70 <refsect1><title>Diagnostics</title>
71 <para><command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
72 </refsect1>
73
74 &manbugs;
75
76 </refentry>