From 44f5601f9e6265fc5bca6da81a8bdab679bdac25 Mon Sep 17 00:00:00 2001 From: spvkgn Date: Tue, 17 Sep 2024 13:20:31 +0500 Subject: [PATCH] fix bash-completion installation path https://github.com/elfmz/far2l/pull/2381#issuecomment-2354609695 --- bash-completion/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bash-completion/CMakeLists.txt b/bash-completion/CMakeLists.txt index e773b594c..b8baaa217 100644 --- a/bash-completion/CMakeLists.txt +++ b/bash-completion/CMakeLists.txt @@ -1,4 +1 @@ -if (NOT CMAKE_BASH_COMP_DIR) - set(CMAKE_BASH_COMP_DIR ${CMAKE_XDGDATA_DIR}/bash-completion/completions) -endif() -install(FILES far2l DESTINATION ${CMAKE_BASH_COMP_DIR}) +install(FILES far2l DESTINATION ${CMAKE_INSTALL_DATADIR}/bash-completion/completions)