summaryrefslogtreecommitdiff
path: root/misc/nfoview/nfoview.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 18:17:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:26 -0500
commit80f92f9f03e4dbd9394832493cfe5e8bd06d3b43 (patch)
tree7be3dd6342fc1efce1e81bcd39a6015079b04608 /misc/nfoview/nfoview.SlackBuild
parent2ab590fa21ed7c1f4d127bb33c3260336b1e2212 (diff)
downloadslackbuilds-80f92f9f03e4dbd9394832493cfe5e8bd06d3b43.tar.gz
misc/nfoview: Don't package the mimeinfo.cache file
Diffstat (limited to 'misc/nfoview/nfoview.SlackBuild')
-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