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