mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
b2dd7f839c
commit
43da8f31a0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue