From 5e2c06613c05ad4f116cc8e1365a8f9297914492 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Mon, 28 Nov 2011 16:28:50 +0000 Subject: [dev-util/catalyst] use if block --- dev-util/catalyst/catalyst-2.0.7.1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-util/catalyst/catalyst-2.0.7.1.ebuild b/dev-util/catalyst/catalyst-2.0.7.1.ebuild index 47fba61..de529f1 100644 --- a/dev-util/catalyst/catalyst-2.0.7.1.ebuild +++ b/dev-util/catalyst/catalyst-2.0.7.1.ebuild @@ -49,9 +49,9 @@ src_install() { dodoc README ChangeLog AUTHORS doman files/catalyst.1 # Here is where we actually enable ccache - use ccache && \ - sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' \ - /etc/catalyst/catalyst.conf || die + if use ccache; then + sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' /etc/catalyst/catalyst.conf || die + fi sed -i -e "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \ /etc/catalyst/catalyst.conf || die } -- cgit v1.2.3-65-gdbad