summaryrefslogtreecommitdiffstats
path: root/system/filerunner/doinst.sh
diff options
context:
space:
mode:
author B. Watson2020-06-26 15:56:49 +0200
committer Willy Sudiarto Raharjo2020-06-28 03:16:54 +0200
commite8104c1aab221cee84308b60a58bfbf65cd0c56e (patch)
tree273274ad32166f9f92bb67d01165088698a64a2d /system/filerunner/doinst.sh
parent4a7556530aeff8887e7b206e2f64aacaa5644d71 (diff)
downloadslackbuilds-e8104c1aab221cee84308b60a58bfbf65cd0c56e.tar.gz
system/filerunner: Added (two-pane graphical file manager)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/filerunner/doinst.sh')
-rw-r--r--system/filerunner/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/filerunner/doinst.sh b/system/filerunner/doinst.sh
new file mode 100644
index 0000000000..f05aaf46fc
--- /dev/null
+++ b/system/filerunner/doinst.sh
@@ -0,0 +1,14 @@
+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
+
+# If there's no fr link, take over:
+if [ ! -r usr/bin/fr ]; then
+ ( cd usr/bin ; ln -sf filerunner fr )
+fi