commit:     82add8fb6f6b87ea7f95caa7405fbb4d69fe3956
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 22 03:09:58 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Dec 22 03:11:43 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82add8fb

dev-libs/xapian: add `|| die` when renaming the doc dir

Package-Manager: portage-2.2.24

 dev-libs/xapian/xapian-1.3.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/xapian/xapian-1.3.3-r1.ebuild 
b/dev-libs/xapian/xapian-1.3.3-r1.ebuild
index 5aa263c..e12e0f3 100644
--- a/dev-libs/xapian/xapian-1.3.3-r1.ebuild
+++ b/dev-libs/xapian/xapian-1.3.3-r1.ebuild
@@ -54,7 +54,7 @@ src_configure() {
 src_install() {
        emake DESTDIR="${D}" install
 
-       mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}"
+       mv "${D}usr/share/doc/xapian-core" "${D}usr/share/doc/${PF}" || die
        use doc || rm -rf "${D}usr/share/doc/${PF}"
 
        dodoc AUTHORS HACKING PLATFORMS README NEWS

Reply via email to