diff --git a/desktop/peksystray/peksystray.SlackBuild b/desktop/peksystray/peksystray.SlackBuild index d53df4f19b..cf1c52f608 100644 --- a/desktop/peksystray/peksystray.SlackBuild +++ b/desktop/peksystray/peksystray.SlackBuild @@ -55,12 +55,8 @@ CXXFLAGS="$SLKCFLAGS" \ make peksystray_LDADD="" make install DESTDIR=$PKG -( 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 || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \