Could the following function please be added to eutils, together with the other fdo-menu functions? Thank you. newicon() { if [ -z "${T}" ] || [ -z "${2}" ] ; then echo "Error: Nothing defined to do." exit 1 fi rm -rf "${T}/${2}" cp "${1}" "${T}/${2}" doicon "${T}/${2}" }
vapier, you want this one? If not, slap me. ;-)
that's a whole lot of effort for nothing added this to eutils: newicon() { insinto /usr/share/pixmaps newins "$1" "$2" }
I just copied the syntax of the portage new* scripts for consistency, so it really wasn't that much effort. :-) Thanks!