summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Erik Hanson2010-05-13 01:17:08 +0200
committer Robby Workman2010-05-17 05:24:26 +0200
commit80f92f9f03e4dbd9394832493cfe5e8bd06d3b43 (patch)
tree7be3dd6342fc1efce1e81bcd39a6015079b04608
parent2ab590fa21ed7c1f4d127bb33c3260336b1e2212 (diff)
downloadslackbuilds-80f92f9f03e4dbd9394832493cfe5e8bd06d3b43.tar.gz
misc/nfoview: Don't package the mimeinfo.cache file
-rw-r--r--misc/nfoview/nfoview.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/nfoview/nfoview.SlackBuild b/misc/nfoview/nfoview.SlackBuild
index 162b72e3be..c6428756a1 100644
--- a/misc/nfoview/nfoview.SlackBuild
+++ b/misc/nfoview/nfoview.SlackBuild
@@ -57,6 +57,9 @@ chmod -R u+w,go+r-w,a-s .
python setup.py install --prefix=$PKG/usr
+# This doesn't seem to belong...
+rm -f $PKG/usr/share/applications/mimeinfo.cache
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true