diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/jag/jag.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/games/jag/jag.SlackBuild b/games/jag/jag.SlackBuild index d16db2b4e76d..61ad3b19a066 100644 --- a/games/jag/jag.SlackBuild +++ b/games/jag/jag.SlackBuild @@ -70,12 +70,8 @@ if [ "${JAG_EDITOR:-no}" == "yes" ]; then cd .. fi -( 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 || 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/share/{applications,pixmaps} install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications |