Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | APT-EXTRACTTEMPLATES |
2 | !!!APT-EXTRACTTEMPLATES | ||
3 | NAME | ||
4 | SYNOPSIS | ||
5 | DESCRIPTION | ||
6 | OPTIONS | ||
7 | SEE ALSO | ||
8 | DIAGNOSTICS | ||
9 | BUGS | ||
10 | AUTHOR | ||
11 | ---- | ||
12 | !!NAME | ||
13 | |||
14 | |||
15 | apt-extracttemplates - Utility to extract !DebConf config and templates from Debian packages | ||
16 | !!SYNOPSIS | ||
17 | |||
18 | |||
19 | __apt-extracttemplate__ [[ __-hv__ ] [[ | ||
20 | __-t=__''temporary directory'' ] | ||
21 | ''file...'' | ||
22 | !!DESCRIPTION | ||
23 | |||
24 | |||
25 | __apt-extracttemplates__ will take one or more Debian | ||
26 | package files as input and write out (to a temporary | ||
27 | directory) all associated config scripts and template files. | ||
28 | For each passed in package that contains config scripts and | ||
29 | templates, one line of output will be generated in the | ||
30 | format: | ||
31 | |||
32 | |||
33 | package version template-file config-script | ||
34 | |||
35 | |||
36 | template-file and config-script are written to the temporary | ||
37 | directory specified by the -t or --tempdir | ||
38 | (APT::!ExtractTemplates::!TempDir | ||
39 | template.XXXX'' and | ||
40 | ''config.XXXX'' | ||
41 | !!OPTIONS | ||
42 | |||
43 | |||
44 | All command line options may be set using the configuration | ||
45 | file, the descriptions indicate the configuration option to | ||
46 | set. For boolean options you can override the config file by | ||
47 | using something like __-f-__,__--no-f__, __-f=no__ | ||
48 | or several other variations. | ||
49 | |||
50 | |||
51 | __-t__ | ||
52 | |||
53 | |||
54 | __--tempdir__ | ||
55 | |||
56 | |||
57 | Temporary directory in which to write extracted debconf | ||
58 | template files and config scripts Configuration Item: | ||
59 | APT::!ExtractTemplates::!TempDir. | ||
60 | |||
61 | |||
62 | __-h__ | ||
63 | |||
64 | |||
65 | __--help__ | ||
66 | |||
67 | |||
68 | Show a short usage summary. | ||
69 | |||
70 | |||
71 | __-v__ | ||
72 | |||
73 | |||
74 | __--version__ | ||
75 | |||
76 | |||
77 | Show the program verison. | ||
78 | |||
79 | |||
80 | __-c__ | ||
81 | |||
82 | |||
83 | __--config-file__ | ||
84 | |||
85 | |||
86 | Configuration File; Specify a configuration file to use. The | ||
87 | program will read the default configuration file and then | ||
88 | this configuration file. See ''apt.conf''(5) for syntax | ||
89 | information. | ||
90 | |||
91 | |||
92 | __-o__ | ||
93 | |||
94 | |||
95 | __--option__ | ||
96 | |||
97 | |||
98 | Set a Configuration Option; This will set an arbitary | ||
99 | configuration option. The syntax is __-o | ||
100 | Foo::Bar=bar__. | ||
101 | !!SEE ALSO | ||
102 | |||
103 | |||
104 | ''apt.conf''(5) | ||
105 | !!DIAGNOSTICS | ||
106 | |||
107 | |||
108 | __apt-extracttemplates__ returns zero on normal | ||
109 | operation, decimal 100 on error. | ||
110 | !!BUGS | ||
111 | |||
112 | |||
113 | See the APT bug page | ||
114 | /usr/share/doc/debian/bug-reporting.txt'' or the | ||
115 | bug(1) command. | ||
116 | !!AUTHOR | ||
117 | |||
118 | |||
119 | APT was written by the APT team | ||
120 | ---- |