summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2021-02-11 11:38:32 -0600
committerMatthias Maier <tamiko@gentoo.org>2021-02-11 12:01:28 -0600
commit48b307ab8e44c543dca36563f5724d055d8ee365 (patch)
tree1c7fcee3d0a768c68ed72cc21bb6b2166391eafa /app-emulation
parentapp-emulation/libvirt: drop unused patch (diff)
downloadgentoo-48b307ab8e44c543dca36563f5724d055d8ee365.tar.gz
gentoo-48b307ab8e44c543dca36563f5724d055d8ee365.tar.bz2
gentoo-48b307ab8e44c543dca36563f5724d055d8ee365.zip
app-emulation/libvirt: fix doc path
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libvirt/libvirt-7.0.0-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-emulation/libvirt/libvirt-7.0.0-r1.ebuild b/app-emulation/libvirt/libvirt-7.0.0-r1.ebuild
index a1cb740eced1..628e451d28d4 100644
--- a/app-emulation/libvirt/libvirt-7.0.0-r1.ebuild
+++ b/app-emulation/libvirt/libvirt-7.0.0-r1.ebuild
@@ -295,6 +295,12 @@ src_install() {
rm -rf "${D}"/var || die
rm -rf "${D}"/run || die
+ # Fix up doc paths for revisions
+ if [ $PV != $PVR ]; then
+ mv "${D}"/usr/share/doc/${PN}-${PV}/* "${D}"/usr/share/doc/${PF} || die
+ rmdir "${D}"/usr/share/doc/${PN}-${PV} || die
+ fi
+
newbashcomp "${S}/tools/bash-completion/vsh" virsh
bashcomp_alias virsh virt-admin