Debian Codegraph @

templates/man5/alpm-hooks.5.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:18+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #, no-wrap
22 msgid "ALPM-HOOKS"
23 msgstr ""
24
25 #. type: TH
26 #: archlinux
27 #, no-wrap
28 msgid "2026-05-06"
29 msgstr ""
30
31 #. type: TH
32 #: archlinux debian-unstable fedora-rawhide
33 #, no-wrap
34 msgid "Pacman 7\\&.1\\&.0"
35 msgstr ""
36
37 #. type: TH
38 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
39 #, no-wrap
40 msgid "Pacman Manual"
41 msgstr ""
42
43 #. -----------------------------------------------------------------
44 #. * MAIN CONTENT STARTS HERE *
45 #. -----------------------------------------------------------------
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #, no-wrap
49 msgid "NAME"
50 msgstr ""
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 msgid "alpm-hooks - alpm hook file format"
55 msgstr ""
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #, no-wrap
60 msgid "SYNOPSIS"
61 msgstr ""
62
63 #. type: Plain text
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #, no-wrap
66 msgid ""
67 "[Trigger] (Required, Repeatable)\n"
68 "Operation = Install|Upgrade|Remove (Required, Repeatable)\n"
69 "Type = Path|Package (Required)\n"
70 "Target = E<lt>Path|PkgNameE<gt> (Required, Repeatable)\n"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #, no-wrap
76 msgid ""
77 "[Action] (Required)\n"
78 "Description = \\&.\\&.\\&. (Optional)\n"
79 "When = PreTransaction|PostTransaction (Required)\n"
80 "Exec = E<lt>CommandE<gt> (Required)\n"
81 "Depends = E<lt>PkgNameE<gt> (Optional)\n"
82 "AbortOnFail (Optional, PreTransaction only)\n"
83 "NeedsTargets (Optional)\n"
84 msgstr ""
85
86 #. type: SH
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #, no-wrap
89 msgid "DESCRIPTION"
90 msgstr ""
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 msgid ""
95 "libalpm provides the ability to specify hooks to run before or after "
96 "transactions based on the packages and/or files being modified\\&. Hooks "
97 "consist of a single I<[Action]> section describing the action to be run and "
98 "one or more I<[Trigger]> section describing which transactions it should be "
99 "run for\\&."
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 msgid ""
105 "Hooks are read from files located in the system hook directory /usr/share/"
106 "libalpm/hooks, and additional custom directories specified in "
107 "B<pacman.conf>(5) (the default is /etc/pacman\\&.d/hooks)\\&. The file names "
108 "are required to have the suffix \"\\&.hook\"\\&. Hooks are run in "
109 "alphabetical order of their file name, where the ordering ignores the "
110 "suffix\\&."
111 msgstr ""
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #, no-wrap
116 msgid "TRIGGERS"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 msgid ""
122 "Hooks must contain at least one I<[Trigger]> section that determines which "
123 "transactions will cause the hook to run\\&. If multiple trigger sections are "
124 "defined the hook will run if the transaction matches B<any> of the "
125 "triggers\\&."
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 msgid "B<Operation => Install|Upgrade|Remove"
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 msgid ""
136 "Select the type of operation to match targets against\\&. May be specified "
137 "multiple times\\&. Installations are considered an upgrade if the package or "
138 "file is already present on the system regardless of whether the new package "
139 "version is actually greater than the currently installed version\\&. For "
140 "Path triggers, this is true even if the file changes ownership from one "
141 "package to another\\&. Required\\&."
142 msgstr ""
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 msgid "B<Type => Path|Package"
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 msgid ""
152 "Select whether targets are matched against transaction packages or files\\&. "
153 "See CAVEATS for special notes regarding Path triggers\\&. I<File> is a "
154 "deprecated alias for I<Path> and will be removed in a future release\\&. "
155 "Required\\&."
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 msgid "B<Target => E<lt>path|packageE<gt>"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux
165 msgid ""
166 "The path or package name to match against the active transaction\\&. Paths "
167 "refer to the files in the package archive; the installation root should "
168 "B<not> be included in the path\\&. Shell-style glob patterns are allowed\\&. "
169 "It is possible to invert matches by prepending a target with an exclamation "
170 "mark\\&. May be specified multiple times, with subsequent matches overriding "
171 "previous ones\\&. Required\\&."
172 msgstr ""
173
174 #. type: SH
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #, no-wrap
177 msgid "ACTIONS"
178 msgstr ""
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 msgid "B<Description => \\&..."
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 msgid ""
188 "An optional description that describes the action being taken by the hook "
189 "for use in front-end output\\&."
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 msgid "B<Exec => E<lt>commandE<gt>"
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 msgid ""
200 "Command to run\\&. Command arguments are split on whitespace\\&. Values "
201 "containing whitespace should be enclosed in quotes\\&. Required\\&."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 msgid "B<When => PreTransaction|PostTransaction"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 msgid "When to run the hook\\&. Required\\&."
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 msgid "B<Depends => E<lt>packageE<gt>"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 msgid ""
222 "Packages that must be installed for the hook to run\\&. May be specified "
223 "multiple times\\&."
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 msgid "B<AbortOnFail>"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 msgid ""
234 "Causes the transaction to be aborted if the hook exits non-zero\\&. Only "
235 "applies to PreTransaction hooks\\&."
236 msgstr ""
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 msgid "B<NeedsTargets>"
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 msgid ""
246 "Causes the list of matched trigger targets to be passed to the running hook "
247 "on I<stdin>\\&."
248 msgstr ""
249
250 #. type: SH
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #, no-wrap
253 msgid "OVERRIDING HOOKS"
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 msgid ""
259 "Hooks may be overridden by placing a file with the same name in a higher "
260 "priority hook directory\\&. Hooks may be disabled by overriding them with a "
261 "symlink to I</dev/null>\\&."
262 msgstr ""
263
264 #. type: SH
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #, no-wrap
267 msgid "EXAMPLES"
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #, no-wrap
273 msgid "# Force disks to sync to reduce the risk of data corruption\n"
274 msgstr ""
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #, no-wrap
279 msgid ""
280 "[Trigger]\n"
281 "Operation = Install\n"
282 "Operation = Upgrade\n"
283 "Operation = Remove\n"
284 "Type = Package\n"
285 "Target = *\n"
286 msgstr ""
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #, no-wrap
291 msgid ""
292 "[Action]\n"
293 "Depends = coreutils\n"
294 "When = PostTransaction\n"
295 "Exec = /usr/bin/sync\n"
296 msgstr ""
297
298 #. type: SH
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #, no-wrap
301 msgid "CAVEATS"
302 msgstr ""
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 msgid ""
307 "There are situations when path triggers may act in unexpected ways\\&. Hooks "
308 "are triggered using the file list of the installed, upgraded, or removed "
309 "package\\&. When installing or upgrading a file that is extracted with a "
310 "I<\\&.pacnew> extension, the original file name is used in triggering the "
311 "hook\\&. When removing a package, all files owned by that package can "
312 "trigger a hook whether or not they were actually present on the file system "
313 "before package removal\\&."
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 msgid ""
319 "PostTransaction hooks will B<not> run if the transaction fails to complete "
320 "for any reason\\&."
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 msgid ""
326 "See the pacman website at https://archlinux\\&.org/pacman/ for current "
327 "information on pacman and its related tools\\&."
328 msgstr ""
329
330 #. type: SH
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #, no-wrap
333 msgid "BUGS"
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 msgid ""
339 "Bugs? You must be kidding; there are no bugs in this software\\&. But if we "
340 "happen to be wrong, please report them to the issue tracker at https://"
341 "gitlab\\&.archlinux\\&.org/pacman/pacman/-/issues with specific information "
342 "such as your command-line, the nature of the bug, and even the package "
343 "database if it helps\\&."
344 msgstr ""
345
346 #. type: SH
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #, no-wrap
349 msgid "AUTHORS"
350 msgstr ""
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 msgid "Current maintainers:"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 msgid "Allan McRae E<lt>allan@archlinux\\&.orgE<gt>"
360 msgstr ""
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 msgid "Andrew Gregory E<lt>andrew\\&.gregory\\&.8@gmail\\&.comE<gt>"
365 msgstr ""
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 msgid "Morgan Adamiec E<lt>morganamilo@archlinux\\&.orgE<gt>"
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 msgid "Past major contributors:"
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 msgid "Judd Vinet E<lt>jvinet@zeroflux\\&.orgE<gt>"
380 msgstr ""
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 msgid "Aurelien Foret E<lt>aurelien@archlinux\\&.orgE<gt>"
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 msgid "Aaron Griffin E<lt>aaron@archlinux\\&.orgE<gt>"
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 msgid "Dan McGee E<lt>dan@archlinux\\&.orgE<gt>"
395 msgstr ""
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 msgid "Xavier Chantry E<lt>shiningxc@gmail\\&.comE<gt>"
400 msgstr ""
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 msgid "Nagy Gabor E<lt>ngaba@bibl\\&.u-szeged\\&.huE<gt>"
405 msgstr ""
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 msgid "Dave Reisner E<lt>dreisner@archlinux\\&.orgE<gt>"
410 msgstr ""
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 msgid "Eli Schwartz E<lt>eschwartz@archlinux\\&.orgE<gt>"
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 msgid ""
420 "For additional contributors, use git shortlog -s on the pacman\\&.git "
421 "repository\\&."
422 msgstr ""
423
424 #. type: TH
425 #: debian-trixie
426 #, no-wrap
427 msgid "2025-01-20"
428 msgstr ""
429
430 #. type: TH
431 #: debian-trixie fedora-44
432 #, no-wrap
433 msgid "Pacman 7\\&.0\\&.0"
434 msgstr ""
435
436 #. type: Plain text
437 #: debian-trixie debian-unstable fedora-44 fedora-rawhide
438 msgid ""
439 "The path or package name to match against the active transaction\\&. Paths "
440 "refer to the files in the package archive; the installation root should "
441 "B<not> be included in the path\\&. Shell-style glob patterns are allowed\\&. "
442 "It is possible to invert matches by prepending a target with an exclamation "
443 "mark\\&. May be specified multiple times\\&. Required\\&."
444 msgstr ""
445
446 #. type: TH
447 #: debian-unstable
448 #, no-wrap
449 msgid "11-11-1111"
450 msgstr ""
451
452 #. type: TH
453 #: fedora-44
454 #, no-wrap
455 msgid "2026-01-16"
456 msgstr ""
457
458 #. type: TH
459 #: fedora-rawhide
460 #, no-wrap
461 msgid "2026-04-19"
462 msgstr ""