summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/hook-file-change-packages.py
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2019-06-03 09:32:36 +0200
committerAllan McRae <allan@archlinux.org>2019-06-06 02:38:31 +0200
commit39c20ad4f1d5f6e915b5be8976b6a94885ca3b0c (patch)
tree74d38438facb45679fda9e22711186c3abac67bb /test/pacman/tests/hook-file-change-packages.py
parent55a65aaf904a32bcf59c652cbc03fc510c265142 (diff)
downloadpacman-39c20ad4f1d5f6e915b5be8976b6a94885ca3b0c.tar.gz
pacman-39c20ad4f1d5f6e915b5be8976b6a94885ca3b0c.tar.xz
hooks: rename type File to Path
Make it clearer that the targets are matched against both directories and regular files and free up File to potentially refer specifically to regular files in the future. File is retained as a deprecated alias for Path for the time being to avoid breaking existing hooks and will be removed in a future release. See FS#53136. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/hook-file-change-packages.py')
-rw-r--r--test/pacman/tests/hook-file-change-packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/tests/hook-file-change-packages.py b/test/pacman/tests/hook-file-change-packages.py
index ad96fc14..4671dbe8 100644
--- a/test/pacman/tests/hook-file-change-packages.py
+++ b/test/pacman/tests/hook-file-change-packages.py
@@ -4,7 +4,7 @@ self.add_script("hook-script", ": > hook-output")
self.add_hook("hook",
"""
[Trigger]
- Type = File
+ Type = Path
Operation = Upgrade
Target = bin/foo