From ed82fdae2bbffb68983d538b0c5028e95299b0a2 Mon Sep 17 00:00:00 2001 From: Tilman Blumenbach Date: Fri, 11 Mar 2016 08:47:44 +0100 Subject: Make Pacman 5 call pre-transaction hook as early as possible. Only the post-transaction hook should be called as _late_ as possible. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16f4a5a..b1154cf 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),apt) endif ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman) mkdir -p $(DESTDIR)$(prefix)/share/libalpm/hooks - $(INSTALL_DATA) ./pacman-pre-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/95-etckeeper-pre-install.hook + $(INSTALL_DATA) ./pacman-pre-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/05-etckeeper-pre-install.hook $(INSTALL_DATA) ./pacman-post-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/95-etckeeper-post-install.hook endif ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman-g2) -- cgit v1.2.3