]> git.saurik.com Git - apt.git/blame - doc/apt-extracttemplates.1.xml
* Updated Spanish translation of man pages from Ruben Porras
[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>
11 &apt-docinfo;
12
13 <refmeta>
14 <refentrytitle>apt-extracttemplates</refentrytitle>
15 <manvolnum>1</manvolnum>
16 </refmeta>
17
18 <!-- Man page title -->
19 <refnamediv>
20 <refname>apt-extracttemplates</refname>
21 <refpurpose>Utility to extract DebConf config and templates from Debian packages</refpurpose>
22 </refnamediv>
23
24 <!-- Arguments -->
25 <refsynopsisdiv>
26 <cmdsynopsis>
27 <command>apt-extracttemplates</command>
28 <arg><option>-hv</option></arg>
29 <arg><option>-t=<replaceable>temporary directory</replaceable></option></arg>
30 <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
31 </cmdsynopsis>
32 </refsynopsisdiv>
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 -t or --tempdir (<literal>APT::ExtractTemplates::TempDir</literal>)
43 directory, with filenames of the form <filename>package.template.XXXX</filename> and
44 <filename>package.config.XXXX</filename></para>
45 </refsect1>
46
47 <refsect1><title>options</title>
48 &apt-cmdblurb;
49
50 <variablelist>
51 <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term>
52 <listitem><para>
53 Temporary directory in which to write extracted debconf template files
54 and config scripts
55 Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem>
56 </varlistentry>
57
58 &apt-commonoptions;
59
60 </variablelist>
61
62
63 </refsect1>
64
65 <refsect1><title>See Also</title>
66 <para>&apt-conf;</para>
67 </refsect1>
68
69 <refsect1><title>Diagnostics</title>
70 <para>
71 <command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
72 </refsect1>
73
74 &manbugs;
75 &manauthor;
76
77</refentry>