dev-python/dbutils: add missing die
authorJoonas Niilola <juippis@gentoo.org>
Wed, 18 Mar 2020 11:10:36 +0000 (13:10 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 18 Mar 2020 11:11:23 +0000 (13:11 +0200)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-python/dbutils/dbutils-1.3.ebuild

index d5d655bbfcc841cfea5c657f4eb0e592ee243502..24bd36146dcc078775ba9442402db0968ec46d34 100644 (file)
@@ -38,7 +38,7 @@ python_prepare_all() {
 
 python_install_all() {
        dodoc "${S}/${MY_PN}"/Docs/*.rst
-       rm -r "${S}/${MY_PN}"/Docs/*.rst
+       rm "${S}/${MY_PN}"/Docs/*.rst || die
        local HTML_DOCS=( "${S}/${MY_PN}"/Docs/. )
        distutils-r1_python_install_all
 }