From e04d6002c8fec2bc7f75b2a6baf02afc27860d15 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:40:26 -0400 Subject: multimedia/GoogleEarth: Fixed for bash4. --- multimedia/GoogleEarth/GoogleEarth.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'multimedia/GoogleEarth/GoogleEarth.SlackBuild') diff --git a/multimedia/GoogleEarth/GoogleEarth.SlackBuild b/multimedia/GoogleEarth/GoogleEarth.SlackBuild index 44e3574253..00f7b6ae67 100644 --- a/multimedia/GoogleEarth/GoogleEarth.SlackBuild +++ b/multimedia/GoogleEarth/GoogleEarth.SlackBuild @@ -66,12 +66,8 @@ find . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) \ mv $PKG/opt/$PRGNAM/bin/googleearth $PKG/opt/$PRGNAM rmdir $PKG/opt/$PRGNAM/bin -( 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 # Let's use the information from the included postinstall.sh # script to create menu entry and mime stuff -- cgit v1.2.3