kde-apps/kcontrol: fix logic error.
authorMichael Palimaka <kensington@gentoo.org>
Fri, 28 Aug 2015 15:58:58 +0000 (01:58 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Fri, 28 Aug 2015 15:59:10 +0000 (01:59 +1000)
Package-Manager: portage-2.2.20.1

kde-apps/kcontrol/kcontrol-15.08.0.ebuild

index 9cc9134ec15526a0537f889f55c18328c8004254..fc90428368311a2cd4c52cc58d48c6f21df03c0b 100644 (file)
@@ -19,5 +19,7 @@ RDEPEND="
 
 src_prepare() {
        kde4-meta_src_prepare
-       use handbook && sed -i -e "/add_subdirectory(kcm_ssl)/d" doc/kcontrol/CMakeLists.txt || die
+       if use handbook; then
+               sed -i -e "/add_subdirectory(kcm_ssl)/d" doc/kcontrol/CMakeLists.txt || die
+       fi
 }