On Thu, 2005-04-28 at 03:44 -0700, Robin H. Johnson wrote: > >I meant an eclass to take care of all of it together.
Ah, ok - sounds good to me. Perhaps we can stick into eutils.eclass? > (rough prototype here) > IUSE="$IUSE logrotate" > RDEPEND="$RDEPEND logrotate? ( app-admin/logrotate )" > > dologrotated() { > use logrotate && insinto /etc/logrotate.d && doins "$@" > } > newlogrotated() { > use logrotate && insinto /etc/logrotate.d && newins "$1" "$2" > } Looks sane to me... ./Brix -- Henrik Brix Andersen <[EMAIL PROTECTED]> Gentoo Linux
signature.asc
Description: This is a digitally signed message part