summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-04-07 21:00:15 -0500
committerMatthias Maier <tamiko@gentoo.org>2019-04-07 21:29:42 -0500
commit2fd0e188e866fd41fd2075c692ccf41684d9fabe (patch)
tree9d63c4288850833e6ede691619d0b938e08ad00e /app-emulation
parentapp-emulation/qemu-guest-agent: drop obsolete (diff)
downloadgentoo-2fd0e188e866fd41fd2075c692ccf41684d9fabe.tar.gz
gentoo-2fd0e188e866fd41fd2075c692ccf41684d9fabe.tar.bz2
gentoo-2fd0e188e866fd41fd2075c692ccf41684d9fabe.zip
app-emulation/qemu: Fix check in pkg_postinst
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>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu/qemu-3.1.0-r4.ebuild (renamed from app-emulation/qemu/qemu-3.1.0-r3.ebuild)2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/qemu/qemu-3.1.0-r3.ebuild b/app-emulation/qemu/qemu-3.1.0-r4.ebuild
index c0894a2ad474..ace3d191a4ca 100644
--- a/app-emulation/qemu/qemu-3.1.0-r3.ebuild
+++ b/app-emulation/qemu/qemu-3.1.0-r4.ebuild
@@ -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