diff options
author | Michael Biebl <mbiebl@gmail.com> | 2017-05-03 16:45:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 16:45:31 +0200 |
commit | 8251ee109c5f7788fe33043c97b8b9011cb31de6 (patch) | |
tree | 1aad161bd45dc9d4105afdae98a5d567891ae8d9 /tmpfiles.d | |
parent | 7feeb8998040ce9358f5c1d805c03e59d72e1190 (diff) | |
parent | 2c201c2140f9a75f3698e988880f00f8d0492315 (diff) |
Merge pull request #5842 from keszybz/meson-status-and-conditionals
Meson status and conditional simplification
Diffstat (limited to 'tmpfiles.d')
-rw-r--r-- | tmpfiles.d/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build index dfbe04a976..d68d17e956 100644 --- a/tmpfiles.d/meson.build +++ b/tmpfiles.d/meson.build @@ -1,4 +1,4 @@ -enable_tmpfiles = conf.get('ENABLE_TMPFILES', 0) == 1 +enable_tmpfiles = conf.get('ENABLE_TMPFILES', false) tmpfiles = [['home.conf', ''], ['journal-nocow.conf', ''], @@ -14,7 +14,7 @@ tmpfiles = [['home.conf', ''], foreach pair : tmpfiles if not enable_tmpfiles # do nothing - elif pair[1] == '' or conf.get(pair[1], 0) == 1 + elif pair[1] == '' or conf.get(pair[1], false) install_data(pair[0], install_dir : tmpfilesdir) else message('Not installing tmpfiles.d/@0@ because @1@ is @2@' |