commit:     6fc2818dd632d224e1575a60bf57f1b7d96cec6f
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  6 11:46:55 2022 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Nov  7 05:02:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc2818d

net-im/mattermost-desktop-bin: fix python path

Closes: https://bugs.gentoo.org/880031
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28158
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
index 0c0557e26809..a612c3199f14 100644
--- 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
@@ -79,7 +79,9 @@ src_install() {
        doexe *.so *.so.* "${MY_PN}"
 
        dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
-       find "/opt/${MY_PN}/resources" -type l -name python3 -exec dosym -r 
"${PYTHON}" "{}" \; || die
+       pushd "${ED}" || die
+       find "opt/${MY_PN}/resources" -type l -name python3 -exec dosym -r 
"${PYTHON}" "{}" \; || die
+       popd || die
 
        make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
 

Reply via email to