Revert "Switch to %ldconfig_scriptlets"

This reverts commit 8dea2252f4.
This commit is contained in:
Lubomir Rintel 2019-05-17 12:16:27 +02:00
parent 8eaf55d0c3
commit 81a34543c4
1 changed files with 3 additions and 1 deletions

View File

@ -125,6 +125,7 @@ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
%if 0%{?rhel} && 0%{?rhel} <= 7
/sbin/ldconfig
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
@ -137,7 +138,8 @@ fi
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%ldconfig_scriptlets glib
%post glib -p /sbin/ldconfig
%postun glib -p /sbin/ldconfig
%files -f %{name}.lang
%doc COPYING README