diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-15 00:56:05 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-23 21:47:29 -0400 |
commit | f6e49d4e52dbd8f67e76689103a59d524423cbf1 (patch) | |
tree | d652b1912728384ef6f306de97f19ba3160dbd03 /hwdb/meson.build | |
parent | abba22c51c44871395316a73cf0e69106eeb94a1 (diff) |
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
Diffstat (limited to 'hwdb/meson.build')
-rw-r--r-- | hwdb/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
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 ############################################################ |