--- ebuild.sh 2004-01-12 18:47:23.000000000 +0000 +++ ebuild.sh.new 2004-01-12 18:51:17.000000000 +0000 @@ -215,6 +215,7 @@ export INSDESTTREE="" export EXEDESTTREE="" export DOCDESTTREE="" +export PIXDESTTREE="" export INSOPTIONS="-m0644" export EXEOPTIONS="-m0755" export LIBOPTIONS="-m0644" @@ -574,6 +575,17 @@ fi } +pixinto() { + if [ "$1" == "/" ]; then + export PIXDESTTREE="" + else + export PIXDESTTREE="$1" + if [ ! -d "${D}usr/share/pixmaps/${PIXDESTTREE}" ]; then + install -d "${D}usr/share/pixmaps/${PIXDESTTREE}" + fi + fi +} + insopts() { INSOPTIONS="" for x in $*; do @@ -832,6 +844,11 @@ rm -fR ${IMAGE}/usr/share/doc fi + # remove pixmaps + if has nopix $FEATURES; then + rm -fR ${IMAGE}/usr/share/pixmaps + fi + # Smart FileSystem Permissions if has sfperms $FEATURES; then for i in $(find ${IMAGE}/ -type f -perm -4000); do