aboutsummaryrefslogtreecommitdiff
path: root/system/filerunner/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-06-26 14:56:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-06-28 08:16:54 +0700
commite8104c1aab221cee84308b60a58bfbf65cd0c56e (patch)
tree273274ad32166f9f92bb67d01165088698a64a2d /system/filerunner/doinst.sh
parent4a7556530aeff8887e7b206e2f64aacaa5644d71 (diff)
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 000000000000..f05aaf46fc9d
--- /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