Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/alpm-hooks.5.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/alpm-hooks.5.asciidoc')
-rw-r--r--doc/alpm-hooks.5.asciidoc17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/alpm-hooks.5.asciidoc b/doc/alpm-hooks.5.asciidoc
index 0f6a1057..916d43bb 100644
--- a/doc/alpm-hooks.5.asciidoc
+++ b/doc/alpm-hooks.5.asciidoc
@@ -12,7 +12,7 @@ SYNOPSIS
--------
[Trigger] (Required, Repeatable)
Operation = Install|Upgrade|Remove (Required, Repeatable)
-Type = File|Package (Required)
+Type = Path|Package (Required)
Target = <Path|PkgName> (Required, Repeatable)
[Action] (Required)
@@ -49,19 +49,20 @@ defined the hook will run if the transaction matches *any* of the triggers.
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 File
+ 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.
-*Type =* File|Package::
+*Type =* Path|Package::
Select whether targets are matched against transaction packages or files.
- See CAVEATS for special notes regarding File triggers. Required.
+ See CAVEATS for special notes regarding Path triggers. 'File' is a deprecated
+ alias for 'Path' and will be removed in a future release. Required.
*Target =* <path|package>::
- The file path or package name to match against the active transaction.
- File paths refer to the files in the package archive; the installation root
+ The path or package name to match against the active transaction.
+ Paths refer to the files in the package archive; the installation root
should *not* be included in the path. Shell-style glob patterns are
- allowed. It is possible to invert matches by prepending a file with an
+ allowed. It is possible to invert matches by prepending a target with an
exclamation mark. May be specified multiple times. Required.
ACTIONS
@@ -119,7 +120,7 @@ Exec = /usr/bin/sync
CAVEATS
-------
-There are situations when file triggers may act in unexpected ways. Hooks are
+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 '.pacnew'
extension, the original file name is used in triggering the hook. When