-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 05/20/2012 07:49 PM, hasufell wrote: > On 05/21/2012 01:36 AM, Alexis Ballier wrote: >> On Mon, 21 May 2012 01:24:13 +0200 hasufell <hasuf...@gentoo.org> >> wrote: >> >>> I want support for installing icons into the appropriate >>> directories which are under /usr/share/icons/... and not just >>> pixmaps. >>> >>> proposal attached + diff >>> >>> This should not break existing ebuilds. Tested a bit and open >>> for review now. >> >> maybe i missed something but cant you just make doicon a newicon >> wrapper and remove all that code duplication ? >> > > I don't see how. "doicon" supports installing multiple icons with > one command, as well as directories. That does not work for > "newicon". > >
Normally, new* is a wrapper for do* that does something like: newfoo() { # argument checking omitted... cp -P "${1}" "${T}/${2}" dofoo "${T}/${2}" } - -- Jonathan Callen -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJPuYXpAAoJELHSF2kinlg4C7kP/1tNBut+o5s0ScBt/SREjrQr Oy1Q4iRk1hV5NqY0ve4Cx1LqT3LKFWGCUkUY9pY4YoacG5Pbt4FKebqHqBjNASbg FIwA2BNGZ5VKW2uwfqpTcc2lp6VRAfA3IxqkO3mlKy/zwk96G3jeoU+2sLSRatRn ZiXsuCQ6DxrBRp8Jtjc5X9lIvbfBNoDIC7uXtW8fOuFBILYT/oSDPwUdT9r3ppNR nfEuB3AsjPEyxuSd0R7QNYXexwDwVyp4JlpqFAQGH/+xUR4Nsy4Cw5jVwOr6Ip+3 afDVC4NNkFBUf+8qQ/Rd6Fdch3RVLeGtdIfhHbYgSbmUGFjIOWQ/+kEy6yp8jNlp 2nkA29Y9eEmRYSwwfQR4xzTcWnuPyK9cNKuK2L5LTUN143rHJdQ85lzkhNPIAYJO jQVPWZh966tQrjkLB9sfW14mkCcvkK5q9F4re5Z44R1RHfdnl+Npe7uts17dQSCg 61sdTQ4Q7r81SyqSgsf2g+QaaLQ+d7+HrZvEJ+N8xhDOwX06CZVjvNWnwewbHBUT jWHkilE9wKJcliaAwK6wqCMNw0LZnvQJHWUKm+vNKcl1PSg51VeQrjEldPDix5cS WVCjsFjzo4pLzID19pI1z3Yx7NIJJTbqfKw1Oju+Bv3JGAzz12RCX8XV4t9BCp7r tPk3xzb4gsxPDqROppVh =D2sX -----END PGP SIGNATURE-----