app-emulation/qemu: Fix check in pkg_postinst
authorMatthias Maier <tamiko@gentoo.org>
Mon, 8 Apr 2019 02:00:15 +0000 (21:00 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 8 Apr 2019 02:29:42 +0000 (21:29 -0500)
Thanks to Garry Filakhtov for triaging and fixing this issue.

Closes: https://bugs.gentoo.org/681346
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/qemu/qemu-3.1.0-r4.ebuild [moved from app-emulation/qemu/qemu-3.1.0-r3.ebuild with 99% similarity]

similarity index 99%
rename from app-emulation/qemu/qemu-3.1.0-r3.ebuild
rename to app-emulation/qemu/qemu-3.1.0-r4.ebuild
index c0894a2ad4741b9458147fcb109c115db15567f4..ace3d191a4cac1532c33b690817d8193c2b35f60 100644 (file)
@@ -774,7 +774,7 @@ pkg_postinst() {
                udev_reload
        fi
 
-       [[ -f ${D}/usr/libexec/qemu-bridge-helper ]] && \
+       [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \
                fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
 
        DISABLE_AUTOFORMATTING=true