hyprland/bash-completion-install-dir.patch

42 lines
2.0 KiB
Diff
Raw Normal View History

From 8ab30e351704ee50ee635ab570f998a6f4181c04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= <sp1rit@disroot.org>
Date: Mon, 15 Apr 2024 12:44:44 +0200
Subject: [PATCH] Fixed bash-completion install directory
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org>
---
hyprctl/meson.build | 2 +-
hyprpm/src/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hyprctl/meson.build b/hyprctl/meson.build
index 1b47a33..390baf6 100644
--- a/hyprctl/meson.build
+++ b/hyprctl/meson.build
@@ -2,6 +2,6 @@ executable('hyprctl', 'main.cpp',
install: true
)
-install_data('hyprctl.bash', install_dir: join_paths(get_option('datadir'), 'bash-completions'), install_tag: 'runtime', rename: 'hyprctl')
+install_data('hyprctl.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion'), install_tag: 'runtime', rename: 'hyprctl')
install_data('hyprctl.fish', install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'), install_tag: 'runtime')
install_data('hyprctl.zsh', install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'), install_tag: 'runtime', rename: '_hyprctl')
diff --git a/hyprpm/src/meson.build b/hyprpm/src/meson.build
index 521166c..9ecdaa0 100644
--- a/hyprpm/src/meson.build
+++ b/hyprpm/src/meson.build
@@ -9,6 +9,6 @@ executable('hyprpm', src,
install : true
)
-install_data('../hyprpm.bash', install_dir: join_paths(get_option('datadir'), 'bash-completions'), install_tag: 'runtime', rename: 'hyprpm')
+install_data('../hyprpm.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion'), install_tag: 'runtime', rename: 'hyprpm')
install_data('../hyprpm.fish', install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'), install_tag: 'runtime')
install_data('../hyprpm.zsh', install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'), install_tag: 'runtime', rename: '_hyprpm')
--
2.44.0