Skip to content

Commit

Permalink
net-im/slack: fix installation on new systems
Browse files Browse the repository at this point in the history
this is just a hack, should be done properly

Bug: https://bugs.gentoo.org/720134
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Patrick McLean <[email protected]>
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
chutz authored and gyakovlev committed May 7, 2020
1 parent 1728ed8 commit f11fab1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion net-im/slack/slack-4.4.2.ebuild
Original file line number Diff line number Diff line change
@@ -84,7 +84,17 @@ src_install() {

insinto /opt/slack
doins -r usr/lib/slack/.
for i in $(echo -n "${QA_PREBUILT}") ; do fperms +x "$i" ; done

# this really should be done a better way than trying to parse
# the QA_PREBUILT variable
local path
for path in ${QA_PREBUILT}; do
local -a paths=(${D}/${path})
for path in "${paths[@]}"; do
fperms +x "${path#${D}/}"
done
done

use suid && fperms u+s /opt/slack/chrome-sandbox # wrt 713094
dosym ../../opt/slack/slack usr/bin/slack

0 comments on commit f11fab1

Please sign in to comment.