Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 13:16:44 +01:00
parent 63f232593a
commit d6de405b55
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1089,15 +1089,8 @@ fi
%if %{use_subman_gui}
%postun -n subscription-manager-gui
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%if !0%{?suse_version}
scrollkeeper-update -q || :
%endif
fi
%posttrans -n subscription-manager-gui
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%changelog