diff options
author | Tilman Blumenbach <tilman+git@ax86.net> | 2016-01-30 20:43:55 +0100 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-02 12:11:16 -0400 |
commit | ba00b0240201ffd004512b19b84c0379a898d5c4 (patch) | |
tree | 3aca99d38f117b8e62a46030fa0c7460ccb56d59 /Makefile | |
parent | 2d371faabe6d3e92e9c8a4d0dd049df73ddc1d0b (diff) |
Add hooks for Pacman 5.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -35,6 +35,11 @@ ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),apt) mkdir -p $(DESTDIR)$(etcdir)/cruft/filters-unex $(INSTALL_DATA) cruft_filter $(DESTDIR)$(etcdir)/cruft/filters-unex/etckeeper endif +ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman) + mkdir -p $(DESTDIR)$(prefix)/share/libalpm/hooks + $(INSTALL_DATA) ./pacman-pre-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/etckeeper-pre-install.hook + $(INSTALL_DATA) ./pacman-post-install.hook $(DESTDIR)$(prefix)/share/libalpm/hooks/etckeeper-post-install.hook +endif ifeq ($(LOWLEVEL_PACKAGE_MANAGER),pacman-g2) mkdir -p $(DESTDIR)$(etcdir)/pacman-g2/hooks $(INSTALL_DATA) pacman-g2.hook $(DESTDIR)$(etcdir)/pacman-g2/hooks/etckeeper |