Skip to content

Commit

Permalink
Merge pull request Normation#628 from Kegeruneku/bug_6380/int/6380_fi…
Browse files Browse the repository at this point in the history
…x_aix_macro_expansion

Fixes #6380: Correct a macro expansion on rudder-agent's SPECfile that m...
  • Loading branch information
peckpeck committed Mar 10, 2015
2 parents e61ed7e + d96b719 commit f0b4d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rudder-agent/SPECS/rudder-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ fi
# Reload configuration of ldd if new configuration has been added
%if "%{?_os}" != "aix"

%if "%{is_tokyocabinet_here}" != "true" && 0%{?rhel} != 3
%if "%{is_tokyocabinet_here}" != "true" && "%{?rhel}" != "3"
if [ -f /etc/ld.so.conf.d/rudder.conf ]; then
ldconfig
fi
Expand All @@ -399,7 +399,7 @@ fi

# Reload configuration of ldd if new configuration has been added,
# CentOS 3 style.
%if "%{is_tokyocabinet_here}" != "true" && 0%{?rhel} == 3
%if "%{is_tokyocabinet_here}" != "true" && "%{?rhel}" == "3"
if [ ! `grep "/opt/rudder/lib" /etc/ld.so.conf` ]; then
echo "/opt/rudder/lib" >> /etc/ld.so.conf
fi
Expand Down

0 comments on commit f0b4d5d

Please sign in to comment.