net-im/mattermost-desktop-bin: fix dosym
authorMatthew Thode <prometheanfire@gentoo.org>
Sun, 3 Nov 2019 22:08:36 +0000 (16:08 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 3 Nov 2019 22:08:51 +0000 (16:08 -0600)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.3.1.ebuild

index 288732cad02079f249fb062df355ade81d42d776..49e7cc922ba4f210618f95560e04e010feba672d 100644 (file)
@@ -84,7 +84,7 @@ src_install() {
        exeinto "/opt/${MY_PN}"
        doexe *.so "${MY_PN}"
 
-       dosym "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
+       dosym "../../opt/${MY_PN}/${MY_PN}" "${EROOT}/usr/bin/${MY_PN}"
 
        newicon "${S}/icon.svg" "${MY_PN}.svg"
        make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"