diff options
Diffstat (limited to 'src/journal/meson.build')
-rw-r--r-- | src/journal/meson.build | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/journal/meson.build b/src/journal/meson.build index 474bdff727..171e276736 100644 --- a/src/journal/meson.build +++ b/src/journal/meson.build @@ -56,17 +56,22 @@ if install_sysconfdir_samples endif if get_option('create-log-dirs') - meson.add_install_script(sh, '-c', mkdir_p.format('/var/log/journal')) - meson.add_install_script(sh, '-c', - '''chown 0:0 $DESTDIR/var/log/journal && - chmod 755 $DESTDIR/var/log/journal || :''') + meson.add_install_script( + 'sh', '-c', + mkdir_p.format('/var/log/journal')) + meson.add_install_script( + 'sh', '-c', + '''chown 0:0 $DESTDIR/var/log/journal && + chmod 755 $DESTDIR/var/log/journal || :''') if get_option('adm-group') - meson.add_install_script(sh, '-c', - 'setfacl -nm g:adm:rx,d:g:adm:rx $DESTDIR/var/log/journal || :') + meson.add_install_script( + 'sh', '-c', + 'setfacl -nm g:adm:rx,d:g:adm:rx $DESTDIR/var/log/journal || :') endif if get_option('wheel-group') - meson.add_install_script(sh, '-c', - 'setfacl -nm g:wheel:rx,d:g:wheel:rx $DESTDIR/var/log/journal || :') + meson.add_install_script( + 'sh', '-c', + 'setfacl -nm g:wheel:rx,d:g:wheel:rx $DESTDIR/var/log/journal || :') endif endif |