Skip to content

Commit 44f5601

Browse files
authored
fix bash-completion installation path
#2381 (comment)
1 parent 7b5fb8e commit 44f5601

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bash-completion/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
if (NOT CMAKE_BASH_COMP_DIR)
2-
set(CMAKE_BASH_COMP_DIR ${CMAKE_XDGDATA_DIR}/bash-completion/completions)
3-
endif()
4-
install(FILES far2l DESTINATION ${CMAKE_BASH_COMP_DIR})
1+
install(FILES far2l DESTINATION ${CMAKE_INSTALL_DATADIR}/bash-completion/completions)

0 commit comments

Comments
 (0)