Skip to content

Commit

Permalink
fix bash-completion installation path
Browse files Browse the repository at this point in the history
  • Loading branch information
spvkgn authored Sep 17, 2024
1 parent 7b5fb8e commit 44f5601
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bash-completion/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 44f5601

Please sign in to comment.