Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/bee-node/
Date: Thu, 05 May 2022 23:38:00
Message-Id: 1651793872.523b7978eaa6d0cc42963bfe4b5cae4718cbf7af.Alessandro-Barbieri@gentoo
1 commit: 523b7978eaa6d0cc42963bfe4b5cae4718cbf7af
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu May 5 15:38:34 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu May 5 23:37:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=523b7978
7
8 net-misc/bee-node: rework conditional logic
9
10 Closes: https://bugs.gentoo.org/842732
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 net-misc/bee-node/bee-node-1.0.0_alpha4.ebuild | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 diff --git a/net-misc/bee-node/bee-node-1.0.0_alpha4.ebuild b/net-misc/bee-node/bee-node-1.0.0_alpha4.ebuild
17 index b1f1598db..02437a915 100644
18 --- a/net-misc/bee-node/bee-node-1.0.0_alpha4.ebuild
19 +++ b/net-misc/bee-node/bee-node-1.0.0_alpha4.ebuild
20 @@ -498,7 +498,9 @@ pkg_setup() {
21
22 src_unpack() {
23 cargo_src_unpack
24 - use dashboard && cp "${DISTDIR}/node-dashboard-bee-${DASHBOARD_VERSION}" "${S}/${PN}/bee-plugin/bee-plugin-dashboard/node-dashboard-bee-${DASHBOARD_VERSION}.zip" || die
25 + if use dashboard; then
26 + cp "${DISTDIR}/node-dashboard-bee-${DASHBOARD_VERSION}" "${S}/${PN}/bee-plugin/bee-plugin-dashboard/node-dashboard-bee-${DASHBOARD_VERSION}.zip" || die
27 + fi
28 }
29
30 src_configure() {