commit:     26cca8c1e7ac922579646c13fa8ad6f5c0081403
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 18:21:20 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 19:44:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26cca8c1

media-libs/cogl: Restore -f in rm -rvf

Because of the next patch we need to run eautoreconf, which somehow
causes this directory to not exist in the install. The -f was removed in
fc115d74f4ef ("media-libs/cogl: add missing mesa[egl] dep for USE=kms").
The commit message states

    Remove rm -f option usage while here (it makes the `|| die`
    useless and makes us not notice once this call isn't necessary
    anymore).

but cogl hasn't seen any real work in about three years, so I don't
think that's particularly important or likely to happen.

Bug: https://bugs.gentoo.org/692212
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/cogl/cogl-1.22.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/cogl/cogl-1.22.4.ebuild 
b/media-libs/cogl/cogl-1.22.4.ebuild
index 12bd445b80f..3265c8399cc 100644
--- a/media-libs/cogl/cogl-1.22.4.ebuild
+++ b/media-libs/cogl/cogl-1.22.4.ebuild
@@ -114,5 +114,5 @@ src_install() {
        gnome2_src_install
 
        # Remove silly examples-data directory
-       rm -rv "${ED}/usr/share/cogl/examples-data/" || die
+       rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
 }

Reply via email to