From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA6C5138334 for ; Thu, 9 May 2019 13:06:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB6B5E086E; Thu, 9 May 2019 13:06:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9984EE086E for ; Thu, 9 May 2019 13:06:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8185D343E57 for ; Thu, 9 May 2019 13:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8927E5E2 for ; Thu, 9 May 2019 13:06:32 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1557407187.c2878332ae1828ea09a03dae6b4fe1c622816155.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virtualbox/virtualbox-6.0.6-r1.ebuild X-VCS-Directories: app-emulation/virtualbox/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: c2878332ae1828ea09a03dae6b4fe1c622816155 X-VCS-Branch: master Date: Thu, 9 May 2019 13:06:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 046b73cc-a60b-4394-a045-a4ca650219a4 X-Archives-Hash: 04a2e89f9a1197254a1a237d3b63ca49 commit: c2878332ae1828ea09a03dae6b4fe1c622816155 Author: Lars Wendler gentoo org> AuthorDate: Thu May 9 13:06:01 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu May 9 13:06:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2878332 app-emulation/virtualbox: Minor ebuild improvements Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> app-emulation/virtualbox/virtualbox-6.0.6-r1.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app-emulation/virtualbox/virtualbox-6.0.6-r1.ebuild b/app-emulation/virtualbox/virtualbox-6.0.6-r1.ebuild index ac99dd66bda..627195b1a4d 100644 --- a/app-emulation/virtualbox/virtualbox-6.0.6-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-6.0.6-r1.ebuild @@ -262,9 +262,7 @@ src_compile() { } src_install() { - local binpath="release" - use debug && binpath="debug" - cd "${S}"/out/linux.${ARCH}/${binpath}/bin || die + cd "${S}"/out/linux.${ARCH}/$(usex debug debug release)/bin || die local vbox_inst_path="/usr/$(get_libdir)/${PN}" each size ico icofile @@ -489,7 +487,7 @@ pkg_postinst() { elog "" elog "WARNING!" elog "Without USE=udev, USB devices will likely not work in ${PN}." - elif [ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ] ; then + elif [[ -e "${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules" ]] ; then elog "" elog "Please remove \"${ROOT%/}/etc/udev/rules.d/10-virtualbox.rules\"" elog "or else USB in ${PN} won't work."