Mailinglist Archive: opensuse-bugs (9397 mails)
| < Previous | Next > |
[Bug 365649] zypper doesn't run SuSEconfig after installing packages
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 4 Mar 2008 07:05:12 -0700 (MST)
- Message-id: <20080304140512.90AE5CC7B3@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=365649
User sbrabec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=365649#c23
--- Comment #23 from Stanislav Brabec <sbrabec@xxxxxxxxxx> 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.
User sbrabec@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=365649#c23
--- Comment #23 from Stanislav Brabec <sbrabec@xxxxxxxxxx> 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.
| < Previous | Next > |