summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-05-13 16:15:13 +0200
committerThomas Haller <thaller@redhat.com>2022-05-13 16:15:18 +0200
commit7062de9219d2e02aa8ce59ca773dd96358309113 (patch)
tree12b2e66a6ec11a6a25e82cdc14930892ae17fc6a /tools
parentd4d001c7713f97489cc099ac768db04653b2f0b5 (diff)
downloadNetworkManager-7062de9219d2e02aa8ce59ca773dd96358309113.tar.gz
build/meson: use "rename" directive for installing nmcli bash completion
Otherwise, `ninja -C build uninstall` tries to delete "nmcli-completion", when the file got renamed to "nmcli". We depend on meson 0.47.2 already.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/meson-post-install.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/meson-post-install.sh b/tools/meson-post-install.sh
index 897a8c5c76..88e30ccfc1 100755
--- a/tools/meson-post-install.sh
+++ b/tools/meson-post-install.sh
@@ -14,11 +14,6 @@ install_systemdunitdir="${11}"
[ -n "$DESTDIR" ] && DESTDIR="${DESTDIR%%/}/"
-if [ -f "${DESTDIR}${nm_datadir}/bash-completion/completions/nmcli-completion" ]; then
- mv "${DESTDIR}${nm_datadir}/bash-completion/completions/nmcli-completion" \
- "${DESTDIR}${nm_datadir}/bash-completion/completions/nmcli"
-fi
-
if [ -x "${DESTDIR}${nm_bindir}/nmtui" ]; then
for alias in nmtui-connect nmtui-edit nmtui-hostname; do
ln -sf nmtui "${DESTDIR}${nm_bindir}/$alias"