commit:     475b798183f3e004e8c7a9bf9fa101de58c86de0
Author:     zyxhere💭 <zyx <AT> envs <DOT> net>
AuthorDate: Sat Jan 31 13:32:46 2026 +0000
Commit:     zyxhere <zyx <AT> envs <DOT> net>
CommitDate: Sat Jan 31 13:34:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=475b7981

www-apps/zola: add `|| die` in case `sed` fails

Thanks-to: David Roman <davidroman96 <AT> gmail.com>
Signed-off-by: zyxhere💭 <zyx <AT> envs.net>

 www-apps/zola/zola-0.22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-apps/zola/zola-0.22.1.ebuild b/www-apps/zola/zola-0.22.1.ebuild
index b4cddada0c..8841b1ffb8 100644
--- a/www-apps/zola/zola-0.22.1.ebuild
+++ b/www-apps/zola/zola-0.22.1.ebuild
@@ -637,7 +637,7 @@ QA_FLAGS_IGNORED="usr/bin/${PN}"
 src_prepare() {
        default
        # Upstream enables stripping on rel and disables debuginfo on dev
-       sed -i 's:profile:ignore:' Cargo.toml
+       sed -i 's:profile:ignore:' Cargo.toml || die
 }
 
 src_configure() {

Reply via email to