Commit 2e9d084b authored by Anders Wäänänen's avatar Anders Wäänänen

Fix specfile conditional.

parent aa96482e
......@@ -119,10 +119,7 @@
%global with_ldap_service 1
# bash-completion
%global _bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
%if 0%{_bashcompdir} == 0
%global _bashcompdir %{_sysconfdir}/bash_completion.d
%endif
%global _bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null || echo %{_sysconfdir}/bash_completion.d)
#
# Macros for scripts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment