]> git.saurik.com Git - apt.git/blame - doc/apt-extracttemplates.1.xml
merge with lp:~mvo/apt/debian-sid and update all pot's and po's
[apt.git] / doc / apt-extracttemplates.1.xml
CommitLineData
24f6490f
AL
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" [
4
5<!ENTITY % aptent SYSTEM "apt.ent">
6%aptent;
7
8]>
9
10<refentry>
5e80de29
AL
11
12 <refentryinfo>
13 &apt-author.jgunthorpe;
14 &apt-author.team;
15 &apt-email;
16 &apt-product;
17 <!-- The last update date -->
18 <date>29 February 2004</date>
19 </refentryinfo>
24f6490f
AL
20
21 <refmeta>
22 <refentrytitle>apt-extracttemplates</refentrytitle>
23 <manvolnum>1</manvolnum>
f0599b9c 24 <refmiscinfo class="manual">APT</refmiscinfo>
24f6490f
AL
25 </refmeta>
26
27 <!-- Man page title -->
28 <refnamediv>
29 <refname>apt-extracttemplates</refname>
30 <refpurpose>Utility to extract DebConf config and templates from Debian packages</refpurpose>
31 </refnamediv>
32
33 <!-- Arguments -->
34 <refsynopsisdiv>
35 <cmdsynopsis>
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>
40 </cmdsynopsis>
41 </refsynopsisdiv>
42
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
48 in the format:</para>
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>
54 </refsect1>
55
56 <refsect1><title>options</title>
57 &apt-cmdblurb;
58
59 <variablelist>
60 <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term>
61 <listitem><para>
62 Temporary directory in which to write extracted debconf template files
5f4331c4 63 and config scripts.
24f6490f
AL
64 Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem>
65 </varlistentry>
66
67 &apt-commonoptions;
68
69 </variablelist>
70
71
72 </refsect1>
73
74 <refsect1><title>See Also</title>
75 <para>&apt-conf;</para>
76 </refsect1>
77
78 <refsect1><title>Diagnostics</title>
5e80de29 79 <para><command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
24f6490f
AL
80 </refsect1>
81
82 &manbugs;
24f6490f
AL
83
84</refentry>