]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - shell-completion/bash/meson.build
tree-wide: drop license boilerplate
[thirdparty/systemd.git] / shell-completion / bash / meson.build
index 93996618457703d32fbf382db9a0b4afdc940382..4ed82de1bb2bb2ae4104aec12532b0b9e9f958e7 100644 (file)
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright 2017 Zbigniew JÄ™drzejewski-Szmek
+
 bashcompletiondir = get_option('bashcompletiondir')
 if bashcompletiondir == ''
         bash_completion = dependency('bash-completion', required : false)
@@ -37,12 +41,12 @@ if bashcompletiondir != 'no'
                  ['loginctl',            'ENABLE_LOGIND'],
                  ['machinectl',          'ENABLE_MACHINED'],
                  ['networkctl',          'ENABLE_NETWORKD'],
-                 ['systemd-resolve',     'ENABLE_RESOLVED'],
+                 ['systemd-resolve',     'ENABLE_RESOLVE'],
                  ['timedatectl',         'ENABLE_TIMEDATED'],
                 ]
 
         foreach item : items
-                if item[1] == '' or conf.get(item[1], false)
+                if item[1] == '' or conf.get(item[1]) == 1
                         install_data(item[0],
                                      install_dir : bashcompletiondir)
                 endif