summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-04-13 15:46:16 +0000
committerRoss Burton <ross@openedhand.com>2007-04-13 15:46:16 +0000
commitb1e9b60389a9a0ebfcb51edbb084c8e72eb8cf11 (patch)
tree1dee7d57c2d14bae380852b2412fa58820838643
parent98553f40911c712b3e54da5fdd65173fc2e8243b (diff)
downloadopenembedded-core-b1e9b60389a9a0ebfcb51edbb084c8e72eb8cf11.tar.gz
openembedded-core-b1e9b60389a9a0ebfcb51edbb084c8e72eb8cf11.tar.bz2
openembedded-core-b1e9b60389a9a0ebfcb51edbb084c8e72eb8cf11.zip
Update the icon cache on install
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1506 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/sato-icon-theme/sato-icon-theme_svn.bb11
1 files changed, 9 insertions, 2 deletions
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
+}