]> git.saurik.com Git - apt.git/blame - doc/apt-extracttemplates.1.xml
auto-prefix $(SITE) for indextargets Description field
[apt.git] / doc / apt-extracttemplates.1.xml
CommitLineData
24f6490f 1<?xml version="1.0" encoding="utf-8" standalone="no"?>
81cf16a2
DK
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
5abbf5bb
DK
4<!ENTITY % aptent SYSTEM "apt.ent"> %aptent;
5<!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent"> %aptverbatiment;
6<!ENTITY % aptvendor SYSTEM "apt-vendor.ent"> %aptvendor;
24f6490f
AL
7]>
8
9<refentry>
5e80de29
AL
10
11 <refentryinfo>
12 &apt-author.jgunthorpe;
13 &apt-author.team;
14 &apt-email;
15 &apt-product;
16 <!-- The last update date -->
dabb215c 17 <date>2012-06-09T00:00:00Z</date>
5e80de29 18 </refentryinfo>
24f6490f
AL
19
20 <refmeta>
21 <refentrytitle>apt-extracttemplates</refentrytitle>
22 <manvolnum>1</manvolnum>
f0599b9c 23 <refmiscinfo class="manual">APT</refmiscinfo>
24f6490f
AL
24 </refmeta>
25
26 <!-- Man page title -->
27 <refnamediv>
28 <refname>apt-extracttemplates</refname>
c6b21d22 29 <refpurpose>Utility to extract <command>debconf</command> config and templates from Debian packages</refpurpose>
24f6490f
AL
30 </refnamediv>
31
6e8b4572
DK
32 &synopsis-command-apt-extracttemplates;
33
24f6490f
AL
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
2b9b27c3
DK
42 specified by the <option>-t</option> or <option>--tempdir</option>
43 (<literal>APT::ExtractTemplates::TempDir</literal>) directory,
8d50b63f
MV
44 with filenames of the form <filename>package.template.XXXXXX</filename> and
45 <filename>package.config.XXXXXX</filename></para>
24f6490f
AL
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>
c6b21d22 54 Temporary directory in which to write extracted <command>debconf</command> template files
5f4331c4 55 and config scripts.
24f6490f
AL
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>
5e80de29 71 <para><command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
24f6490f
AL
72 </refsect1>
73
74 &manbugs;
24f6490f
AL
75
76</refentry>