From f6e49d4e52dbd8f67e76689103a59d524423cbf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 15 Apr 2017 00:56:05 -0400 Subject: meson: add journal-install and hwdb-update hooks v2: - ignore errors in chown/chmod/setfacl - obey -Dadm-group=false, -Dwheel-group=false - fix reversed condition for systemd-hwdb update hook --- hwdb/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hwdb') diff --git a/hwdb/meson.build b/hwdb/meson.build index 4498d5e08b..1e859fd20d 100644 --- a/hwdb/meson.build +++ b/hwdb/meson.build @@ -25,6 +25,10 @@ if conf.get('ENABLE_HWDB', 0) == 1 meson.add_install_script('sh', '-c', mkdir_p.format(join_paths(sysconfdir, 'udev/hwdb.d'))) + + meson.add_install_script('sh', '-c', + 'test -n "$DESTDIR" || @0@/systemd-hwdb update' + .format(rootbindir)) endif ############################################################ -- cgit v1.2.3