aboutsummaryrefslogtreecommitdiff
path: root/network/protonmail-bridge
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2023-07-21 13:02:09 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-25 20:40:33 +0700
commit43da8f31a06f05dadcf441eceffdaf41d43dfca0 (patch)
tree148503af0be5392393fa2d7254201c763d62789d /network/protonmail-bridge
parentb2dd7f839c94c8eaa9dc86b69db418f8197904cb (diff)
network/protonmail-bridge: Make ELF libraries executable.
This fixes a problem revealed by sbopkglint. Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/protonmail-bridge')
-rw-r--r--network/protonmail-bridge/protonmail-bridge.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/protonmail-bridge/protonmail-bridge.SlackBuild b/network/protonmail-bridge/protonmail-bridge.SlackBuild
index ce1ed5da59289..1f5605c96d26c 100644
--- a/network/protonmail-bridge/protonmail-bridge.SlackBuild
+++ b/network/protonmail-bridge/protonmail-bridge.SlackBuild
@@ -72,6 +72,8 @@ find -L . \
mv $PKG/usr/lib $PKG/usr/lib64
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs chmod 755 2> /dev/null || true
rm $PKG/usr/bin/protonmail-bridge
ln -s /usr/lib64/protonmail/bridge/proton-bridge $PKG/usr/bin/protonmail-bridge