From b1e9b60389a9a0ebfcb51edbb084c8e72eb8cf11 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 13 Apr 2007 15:46:16 +0000 Subject: Update the icon cache on install git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1506 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/sato-icon-theme/sato-icon-theme_svn.bb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'meta') diff --git a/meta/packages/sato-icon-theme/sato-icon-theme_svn.bb b/meta/packages/sato-icon-theme/sato-icon-theme_svn.bb index 683ec11773..5658b7ba3d 100644 --- a/meta/packages/sato-icon-theme/sato-icon-theme_svn.bb +++ b/meta/packages/sato-icon-theme/sato-icon-theme_svn.bb @@ -3,11 +3,18 @@ DESCRIPTION = "Sato Icon Theme" LICENSE = "LGPL" DEPENDS = "" PV = "0.0+svn${SRCDATE}" -PR = "r2" +PR = "r3" SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=sato-icon-theme;proto=http" S = "${WORKDIR}/sato-icon-theme" -inherit autotools pkgconfig +inherit autotools pkgconfig FILES_${PN} += "${datadir}" + +pkg_postinst_${PN} () { + if [ "x$D" != "x" ]; then + exit 1 + fi + gtk-update-icon-cache -q /usr/share/icons/Sato +} -- cgit v1.2.3-54-g00ecf