Fix ldconfig scriptlets

This commit is contained in:
Michal Schorm 2018-01-30 12:29:31 +01:00
parent f960602973
commit d70e481fb9

View File

@ -723,11 +723,13 @@ popd
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || : -c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
%if %{with clibrary} %if %{with clibrary}
%post libs -p /sbin/ldconfig # Can be dropped on F27 EOL
%ldconfig_post libs
%endif %endif
%if %{with embedded} %if %{with embedded}
%post embedded -p /sbin/ldconfig # Can be dropped on F27 EOL
%ldconfig_post embedded
%endif %endif
%post server %post server
@ -756,11 +758,13 @@ fi
%endif %endif
%if %{with clibrary} %if %{with clibrary}
%postun libs -p /sbin/ldconfig # Can be dropped on F27 EOL
%ldconfig_postun libs
%endif %endif
%if %{with embedded} %if %{with embedded}
%postun embedded -p /sbin/ldconfig # Can be dropped on F27 EOL
%ldconfig_postun embedded
%endif %endif
%postun server %postun server