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
This commit is contained in:
Richard Purdie 2005-11-09 10:50:13 +00:00
parent e3d762958d
commit 5975a435f3

View File

@ -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
}