chiark / gitweb /
build-sys: fix catalog-update-hook with older systemd
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Nov 2012 12:53:32 +0000 (13:53 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Nov 2012 13:05:17 +0000 (14:05 +0100)
commitf975e76c0b6b93a10ecff1a07c577a10d1cf23cd
tree9c2e143a6272fd1c1878abe7ab1cbac0f148c4fd
parente2bb347f85fbf5a32abc20e0dada752d3cade01d
build-sys: fix catalog-update-hook with older systemd

The hook would fail if preexisting journalctl doesn't support
--update-catalog. Also, the catalog would be updated before new
catalog files were installed. Both issues are fixed by moving to
INSTALL_DATA_HOOK instead of INSTALL_EXEC_HOOK, since the hook is now
executed after both journalctl and catalog files are installed.
Makefile.am