Fix ldconfig scriptlets
This commit is contained in:
parent
7e1736baba
commit
5cf21671c5
@ -716,11 +716,13 @@ popd
|
||||
-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
|
||||
|
||||
%post server
|
||||
@ -749,11 +751,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
|
||||
|
||||
%postun server
|
||||
|
Loading…
Reference in New Issue
Block a user