diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild index df53fd337a..33e15c24d2 100644 --- a/graphics/mtpaint/mtpaint.SlackBuild +++ b/graphics/mtpaint/mtpaint.SlackBuild @@ -62,12 +62,8 @@ make make DESTDIR=$PKG install (cd $PKG/usr/bin && ln -s mtpaint mtv) -( 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 {} \;