diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-15 06:56:05 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-24 03:47:29 +0200 |
commit | f6e49d4e52dbd8f67e76689103a59d524423cbf1 (patch) | |
tree | d652b1912728384ef6f306de97f19ba3160dbd03 /src/journal-remote/meson.build | |
parent | meson: add hwdb/update target (diff) | |
download | systemd-f6e49d4e52dbd8f67e76689103a59d524423cbf1.tar.xz systemd-f6e49d4e52dbd8f67e76689103a59d524423cbf1.zip |
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 'src/journal-remote/meson.build')
-rw-r--r-- | src/journal-remote/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/meson.build b/src/journal-remote/meson.build index 35342755d3..c182e7c477 100644 --- a/src/journal-remote/meson.build +++ b/src/journal-remote/meson.build @@ -47,5 +47,5 @@ install_data('browse.html', meson.add_install_script('sh', '-c', mkdir_p.format('/var/log/journal/remote')) meson.add_install_script('sh', '-c', - '''chown 0:0 $DESTDIR/var/log/journal/remote; - chmod 755 $DESTDIR/var/log/journal/remote''') + 'chown 0:0 $DESTDIR/var/log/journal/remote && + chmod 755 $DESTDIR/var/log/journal/remote || :') |