summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-05-18 09:40:45 +0200
committerJoey Hess <joeyh@joeyh.name>2016-05-18 10:57:21 -0400
commitaa4cb275691a1f7956148c3f19fc9e6b9e387737 (patch)
tree82a4ab4375969e930d8f4a55de471e570784eea2
parent80c4ec7c5a0c1927977783872404bf259da09bd9 (diff)
Do not include installation root in path for target
File paths refer to the files in the package archive; the installation root should not be included in the path. Signed-off-by: Christian Hesse <mail@eworm.de>
-rw-r--r--pacman-post-install.hook2
-rw-r--r--pacman-pre-install.hook2
2 files changed, 2 insertions, 2 deletions
diff --git a/pacman-post-install.hook b/pacman-post-install.hook
index b0f1816..b6296cc 100644
--- a/pacman-post-install.hook
+++ b/pacman-post-install.hook
@@ -5,7 +5,7 @@ Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
-Target = /etc/*
+Target = etc/*
[Action]
Description = etckeeper: post-transaction commit
diff --git a/pacman-pre-install.hook b/pacman-pre-install.hook
index 35bf7df..4cc0b64 100644
--- a/pacman-pre-install.hook
+++ b/pacman-pre-install.hook
@@ -5,7 +5,7 @@ Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
-Target = /etc/*
+Target = etc/*
[Action]
Description = etckeeper: pre-transaction commit