summaryrefslogtreecommitdiff
path: root/openembedded/packages
diff options
context:
space:
mode:
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 8c7b15e9c..02bb7a826 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
}