sys-apps/ripgrep: add missing || die
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 1 Dec 2018 01:51:09 +0000 (17:51 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 1 Dec 2018 01:51:09 +0000 (17:51 -0800)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-apps/ripgrep/ripgrep-0.10.0-r1.ebuild

index fba0e1d8e24c41f3cec36da8b4c21be198a38262..902eb4c315fa38a07bff354e10a9ddeede495709 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -129,7 +129,7 @@ src_install() {
                $(usex pcre "--features pcre2" "") \
                || die "cargo install failed"
 
-       rm -f "${D}/usr/.crates.toml"
+       rm -f "${D}/usr/.crates.toml" || die
 
        # hack to find/install generated files
        # stamp file can be present in multiple dirs if we build additional features