diff options
Diffstat (limited to 'academic/avogadro')
-rw-r--r-- | academic/avogadro/avogadro.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/academic/avogadro/avogadro.SlackBuild b/academic/avogadro/avogadro.SlackBuild index 35665408e5ecb..ed2d07cddc54f 100644 --- a/academic/avogadro/avogadro.SlackBuild +++ b/academic/avogadro/avogadro.SlackBuild @@ -63,12 +63,8 @@ cd - # Remove file to prevent avogadro from segfaulting. #rm -f $PKG/usr/share/libavogadro/extensionScripts/example.py -( 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 mkdir -p $PKG/usr/man/man1 install -m 0644 $CWD/$PRGNAM.1 $PKG/usr/man/man1/ |