From aa4cb275691a1f7956148c3f19fc9e6b9e387737 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 18 May 2016 09:40:45 +0200 Subject: 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 --- pacman-post-install.hook | 2 +- pacman-pre-install.hook | 2 +- 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 -- cgit v1.2.3