---
recipes/gpe-icons/gpe-icons.inc | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/recipes/gpe-icons/gpe-icons.inc b/recipes/gpe-icons/gpe-icons.inc
index 5e52894..613786e 100644
--- a/recipes/gpe-icons/gpe-icons.inc
+++ b/recipes/gpe-icons/gpe-icons.inc
@@ -17,4 +17,20 @@ pkg_postinst() {
echo "warn: Check what's left there and remove it manually."
mv -f ${ALTERNATIVE_LINK} ${ALTERNATIVE_LINK}.old
fi
+ pixmap_dirs_root="${datadir}/gpe/"
+ cd ${pixmap_dirs_root}
+ for pixmap_dir in pixmaps.*; do
+ if [ "${pixmap_dir}"x == "pixmaps.${PN}"x ] ; then
+ continue;
+ fi
+ for pixmap in `find ${pixmap_dir}`; do
+ pixmap_target=`echo ${pixmap} | sed
"s/${pixmap_dir}/pixmaps.${PN}/g"`;
+ if [ -e ${pixmap_target} ] ; then
+ echo "${pixmap_target} exists";
+ else
+ echo "${pixmap} merged";
+ cp -ra ${pixmap} ${pixmap_target};
+ fi;
+ done
+ done
}
--
1.6.5.3
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel