From: Ross Burton Date: Fri, 13 Apr 2007 15:46:16 +0000 (+0000) Subject: Update the icon cache on install X-Git-Tag: 2011-1~11907 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b1e9b60389a9a0ebfcb51edbb084c8e72eb8cf11;p=openembedded-core.git Update the icon cache on install git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1506 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- 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 +}