https://bugzilla.novell.com/show_bug.cgi?id=365649
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365649#c23
--- Comment #23 from Stanislav Brabec 2008-03-04 07:05:11 MST ---
No. Abusing of -p rpm script parameter saves only few milliseconds by saying:
"Use /sbin/ldconfig to interpret this empty script" instead of: "Start shell
interpreter and run a script containing /sbin/ldconfig."
And even this would be impossible for KDE apps. Using for it only RPM features,
they would need:
%post
if test -x /usr/bin/gtk-update-icon-cache ; then
/usr/bin/gtk-update-icon-cache
fi
%postun
if test -x /usr/bin/gtk-update-icon-cache ; then
/usr/bin/gtk-update-icon-cache
fi
Or a bit more effective with newer RPM:
%posttrans
if test -x /usr/bin/gtk-update-icon-cache ; then
/usr/bin/gtk-update-icon-cache
fi
%postun
if test "$1" = 0 ; then
if test -x /usr/bin/gtk-update-icon-cache ; then
/usr/bin/gtk-update-icon-cache
fi
fi
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.