Update the icon cache on install
authorRoss Burton <ross@openedhand.com>
Fri, 13 Apr 2007 15:46:16 +0000 (15:46 +0000)
committerRoss Burton <ross@openedhand.com>
Fri, 13 Apr 2007 15:46:16 +0000 (15:46 +0000)
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

index 683ec11..5658b7b 100644 (file)
@@ -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
+}