1 --- a/contrib/CMakeLists.txt
2 +++ b/contrib/CMakeLists.txt
3 @@ -85,7 +85,7 @@ endif (INSTALL_PHP_EXAMPLES)
4 if (INSTALL_BASH_COMPLETION)
5 macro_optional_find_package (BashCompletion)
6 if (NOT BASH_COMPLETION_FOUND)
7 - set (BASH_COMPLETION_COMPLETIONSDIR "/etc/bash_completion.d" CACHE PATH "Location of bash_completion.d")
8 + set (BASH_COMPLETION_COMPLETIONSDIR "${CMAKE_INSTALL_PREFIX}/share/bash-completion/completions" CACHE PATH "Location of bash_completion.d")
9 endif (NOT BASH_COMPLETION_FOUND)
11 FILES bash-completion/gammu