From: | Peter Stuge <peter@×××××.se> |
---|---|
To: | gentoo-dev@l.g.o |
Subject: | [gentoo-dev] find ${D} -delete in src_install() ? |
Date: | Tue, 15 Jul 2014 10:01:04 |
Message-Id: | 20140715100054.21131.qmail@stuge.se |
1 | I came across this in sys-power/pm-utils-1.4.1-r2.ebuild src_install(): |
2 | |
3 | # NetworkManager 0.8.2 is handling suspend/resume on it's own with UPower |
4 | find "${D}" -type f -name 55NetworkManager -exec rm -f '{}' + |
5 | |
6 | This seems baroquely reckless, but it has been like that since 2010 |
7 | with one revbump and a bunch of stabilizations, so maybe it's fine? |
8 | |
9 | Is it really acceptable for an ebuild to delete all files in $D |
10 | which have a particular name? |
11 | |
12 | |
13 | //Peter |
Subject | Author |
---|---|
Re: [gentoo-dev] find ${D} -delete in src_install() ? | Samuli Suominen <ssuominen@g.o> |