about summary refs log tree commit diff
path: root/src/nmcli/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/nmcli/meson.build')
-rw-r--r--src/nmcli/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nmcli/meson.build b/src/nmcli/meson.build
index fab7329e..a122e2af 100644
--- a/src/nmcli/meson.build
+++ b/src/nmcli/meson.build
@@ -2,12 +2,10 @@
 
 if enable_nmcli
 
-# The file is called "nmcli-completion" but should be installed with
-# name "nmcli". Currently it gets renamed by "tools/meson-post-install.sh",
-# but if we depend on meson 0.46.0, we could use "rename" option.
 install_data(
   'nmcli-completion',
   install_dir: join_paths(nm_datadir, 'bash-completion', 'completions'),
+  rename: 'nmcli',
 )
 
 executable(