diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:26 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:26 -0400 |
commit | e04d6002c8fec2bc7f75b2a6baf02afc27860d15 (patch) | |
tree | 17854d9000691782e12824b80fe7c85a8a314b73 | |
parent | 5cac3eaea92a4e3a28d61dadc4c31a22bb4f254b (diff) | |
download | slackbuilds-e04d6002c8fec2bc7f75b2a6baf02afc27860d15.tar.gz |
multimedia/GoogleEarth: Fixed for bash4.
-rw-r--r-- | multimedia/GoogleEarth/GoogleEarth.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
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 |