diff --git a/libraries/pydot/pydot.SlackBuild b/libraries/pydot/pydot.SlackBuild index 2ea25853d4..6f5b60ae40 100644 --- a/libraries/pydot/pydot.SlackBuild +++ b/libraries/pydot/pydot.SlackBuild @@ -53,8 +53,8 @@ python setup.py install --root=$PKG # remove wrongly installed docs rm -f $PKG/usr/{ChangeLog,LICENSE,README} -find $PKG | 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 ChangeLog LICENSE PKG-INFO README \