diff options
Diffstat (limited to 'hwdb')
-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 4498d5e08..1e859fd20 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 ############################################################ |