From 65e316257c7ca1cdeacf31b1d9987cb3efd5d022 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:31:12 -0400 Subject: audio/last.fm: Fixed for bash4. --- audio/last.fm/last.fm.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/audio/last.fm/last.fm.SlackBuild b/audio/last.fm/last.fm.SlackBuild index b84f839e55..fa90861dc7 100644 --- a/audio/last.fm/last.fm.SlackBuild +++ b/audio/last.fm/last.fm.SlackBuild @@ -61,12 +61,8 @@ gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop ( cd $PKG/usr/share/pixmaps ; ln -s ../../lib${LIBDIRSUFFIX}/last.fm/data/app_55.png lastfm.png ) -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - 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/doc/$PRGNAM-$VERSION cp -a COPYING README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3