summaryrefslogtreecommitdiff
path: root/desktop/gtk-chtheme
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gtk-chtheme')
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
index d96334b396..5cf1aace12 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
+++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
@@ -57,8 +57,8 @@ fi
make || exit 1
make install DESTDIR=$PKG MANDIR=usr/man || exit 1
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find $PKG | 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;