Update ldconfig scriptlets

This commit is contained in:
Michal Schorm 2018-01-30 11:55:36 +01:00
parent ed1cfbce0e
commit 00b1b90490
1 changed files with 8 additions and 4 deletions

View File

@ -1188,11 +1188,13 @@ export MTR_BUILD_THREAD=%{__isa_bits}
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
%if %{with clibrary}
%post libs -p /sbin/ldconfig
# Can be dropped on F27 EOL
%ldconfig_post libs
%endif
%if %{with embedded}
%post embedded -p /sbin/ldconfig
# Can be dropped on F27 EOL
%ldconfig_post embedded
%endif
%if %{with galera}
@ -1227,11 +1229,13 @@ fi
%endif
%if %{with clibrary}
%postun libs -p /sbin/ldconfig
# Can be dropped on F27 EOL
%ldconfig_postun libs
%endif
%if %{with embedded}
%postun embedded -p /sbin/ldconfig
# Can be dropped on F27 EOL
%ldconfig_postun embedded
%endif
%if %{with galera}