Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/mattermost-desktop-bin/
Date: Mon, 07 Nov 2022 05:03:07
Message-Id: 1667797364.6fc2818dd632d224e1575a60bf57f1b7d96cec6f.ceamac@gentoo
1 commit: 6fc2818dd632d224e1575a60bf57f1b7d96cec6f
2 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 6 11:46:55 2022 +0000
4 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 7 05:02:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc2818d
7
8 net-im/mattermost-desktop-bin: fix python path
9
10 Closes: https://bugs.gentoo.org/880031
11 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
12 Closes: https://github.com/gentoo/gentoo/pull/28158
13 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
14
15 net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0-r1.ebuild | 4 +++-
16 1 file changed, 3 insertions(+), 1 deletion(-)
17
18 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0-r1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0-r1.ebuild
19 index 0c0557e26809..a612c3199f14 100644
20 --- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0-r1.ebuild
21 +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0-r1.ebuild
22 @@ -79,7 +79,9 @@ src_install() {
23 doexe *.so *.so.* "${MY_PN}"
24
25 dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
26 - find "/opt/${MY_PN}/resources" -type l -name python3 -exec dosym -r "${PYTHON}" "{}" \; || die
27 + pushd "${ED}" || die
28 + find "opt/${MY_PN}/resources" -type l -name python3 -exec dosym -r "${PYTHON}" "{}" \; || die
29 + popd || die
30
31 make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"