summaryrefslogtreecommitdiff
path: root/openembedded/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-11-09 10:50:13 +0000
committerRichard Purdie <richard@openedhand.com>2005-11-09 10:50:13 +0000
commit5975a435f37df949faf816afd5c58203e9f4ccbe (patch)
tree8c745abc406d3f3d2c2a706f8b3c222479cf101f /openembedded/packages
parente3d762958db9f4ceeeca141a2f53fe0da4b76165 (diff)
downloadopenembedded-core-5975a435f37df949faf816afd5c58203e9f4ccbe.tar.gz
openembedded-core-5975a435f37df949faf816afd5c58203e9f4ccbe.tar.bz2
openembedded-core-5975a435f37df949faf816afd5c58203e9f4ccbe.zip
dates: run gtk-update-icon-cache on device after install
git-svn-id: https://svn.o-hand.com/repos/poky@178 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages')
-rwxr-xr-xopenembedded/packages/dates/dates_svn.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/openembedded/packages/dates/dates_svn.bb b/openembedded/packages/dates/dates_svn.bb
index 8c7b15e9c1..02bb7a8269 100755
--- a/openembedded/packages/dates/dates_svn.bb
+++ b/openembedded/packages/dates/dates_svn.bb
@@ -17,5 +17,7 @@ CFLAGS_prepend = " -DFRAMES=5 "
FILES_${PN} += "${datadir}/icons/hicolor/48x48/apps/oh-dates.png"
pkg_postinst_${PN} () {
- gtk-update-icon-cache /usr/share/icons/hicolor
+ if [ "x$D" != "x" ]; then
+ gtk-update-icon-cache /usr/share/icons/hicolor
+ fi
}