summaryrefslogtreecommitdiffstats
path: root/system/fsviewer/doinst.sh
diff options
context:
space:
mode:
author B. Watson2013-02-12 06:45:51 +0100
committer Erik Hanson2013-02-14 07:26:57 +0100
commit411a788efa6056ce11491b1dee23ba009b195ead (patch)
treeffa7583a2362e6e5768425fba49430185fe7215c /system/fsviewer/doinst.sh
parentedc28b0ee7ee59b43de7d3b891365645d7886e27 (diff)
downloadslackbuilds-411a788efa6056ce11491b1dee23ba009b195ead.tar.gz
system/fsviewer: Added (NextStep-like file browser)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/fsviewer/doinst.sh')
-rw-r--r--system/fsviewer/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/fsviewer/doinst.sh b/system/fsviewer/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/fsviewer/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi