From 4d77c97c42437f39234c9bafef9c7a24b4b0e302 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Thu, 18 Dec 2008 19:03:33 +0000 Subject: Add pkg_preinst and pkg_postrm phases for gtk-update-icon-cache. (Portage version: 2.1.6.1/cvs/Linux 2.6.27.7 i686) --- x11-themes/gtk-engines-nimbus/ChangeLog | 5 +++-- .../gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild | 12 ++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'x11-themes/gtk-engines-nimbus') diff --git a/x11-themes/gtk-engines-nimbus/ChangeLog b/x11-themes/gtk-engines-nimbus/ChangeLog index 8d3217f4565c..eccbce2204d7 100644 --- a/x11-themes/gtk-engines-nimbus/ChangeLog +++ b/x11-themes/gtk-engines-nimbus/ChangeLog @@ -1,9 +1,10 @@ # ChangeLog for x11-themes/gtk-engines-nimbus # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/ChangeLog,v 1.16 2008/12/18 11:02:26 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/ChangeLog,v 1.17 2008/12/18 19:03:33 ssuominen Exp $ 18 Dec 2008; gtk-engines-nimbus-0.1.1.ebuild: - Fix test suite. Stable for x86. + Add pkg_preinst and pkg_postrm phases for gtk-update-icon-cache. + Fix test suite and mark it stable for x86. 15 Oct 2008; Diego Pettenò gtk-engines-nimbus-0.1.0.ebuild, gtk-engines-nimbus-0.1.1.ebuild: diff --git a/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild b/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild index 01256821b047..1bb7aa72bb51 100644 --- a/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild +++ b/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild,v 1.3 2008/12/18 11:02:26 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-nimbus/gtk-engines-nimbus-0.1.1.ebuild,v 1.4 2008/12/18 19:03:33 ssuominen Exp $ -inherit libtool gnome2-utils eutils +inherit gnome2-utils MY_PN=nimbus MY_P=${MY_PN}-${PV} @@ -40,6 +40,14 @@ src_install() { dodoc AUTHORS ChangeLog } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { gnome2_icon_cache_update } + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad