commit:     a3dbf16e324af0cba773f048fbab67c952ed5ac4
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  9 08:20:20 2022 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Dec  9 08:21:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3dbf16e

net-im/mattermost-desktop-bin: add error handling

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.2.ebuild 
b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.2.ebuild
index 4450b3f967c4..9abbfd63f0dc 100644
--- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.2.ebuild
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.2.2.ebuild
@@ -66,9 +66,9 @@ S="${WORKDIR}"
 
 src_install() {
        if use amd64; then
-               cd mattermost-desktop-${MY_PV}-linux-x64
+               cd mattermost-desktop-${MY_PV}-linux-x64 || die
        elif use arm64; then
-               cd mattermost-desktop-${MY_PV}-linux-arm64
+               cd mattermost-desktop-${MY_PV}-linux-arm64 || die
        fi
        newicon app_icon.png ${MY_PN}.png
 

Reply via email to