dev-libs/xapian: add `|| die` when renaming the doc dir
authorAnthony G. Basile <blueness@gentoo.org>
Tue, 22 Dec 2015 03:09:58 +0000 (22:09 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Tue, 22 Dec 2015 03:11:43 +0000 (22:11 -0500)
Package-Manager: portage-2.2.24

dev-libs/xapian/xapian-1.3.3-r1.ebuild

index 5aa263c5d98e10b54a3b8a5534febcae55618ae5..e12e0f392f56db64fce4339c8d07c6fe83dfc554 100644 (file)
@@ -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