summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/qbittorrent/qbittorrent.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/qbittorrent/qbittorrent.SlackBuild b/network/qbittorrent/qbittorrent.SlackBuild
index a5c9670fab..72746e8e86 100644
--- a/network/qbittorrent/qbittorrent.SlackBuild
+++ b/network/qbittorrent/qbittorrent.SlackBuild
@@ -80,12 +80,8 @@ for i in 16 22 24 32 36 48 64 72 96 128 192 ; do
$PKG/usr/share/icons/hicolor/${i}x${i}/apps ;
done
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;