On 15/07/14 13:00, Peter Stuge wrote:
> I came across this in sys-power/pm-utils-1.4.1-r2.ebuild src_install():
>
> # NetworkManager 0.8.2 is handling suspend/resume on it's own with UPower
> find "${D}" -type f -name 55NetworkManager -exec rm -f '{}' +
>
> This seems baroquely reckless, but it has been like that since 2010
> with one revbump and a bunch of stabilizations, so maybe it's fine?

I don't see anything reckless about it.

> Is it really acceptable for an ebuild to delete all files in $D
> which have a particular name?
>
>
> //Peter
>

Of course, why wouldn't it be? $D is the image directory of the package
before it's merged to
actual filesystem, and even if it weren't, it specifies -name as well,
so it's double-safe

Reply via email to