summaryrefslogtreecommitdiff
path: root/system/kbfs/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-17 19:05:32 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:10:43 +0700
commitf8d870fb0388b91832295b981989adaaf19b7920 (patch)
tree90d36526c122e48ad8e09f448191ba62b25cac95 /system/kbfs/doinst.sh
parentef503041ed0b141bf7638a9b9b7d26944b67c276 (diff)
downloadslackbuilds-f8d870fb0388b91832295b981989adaaf19b7920.tar.gz
system/kbfs: Added (Keybase File System).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/kbfs/doinst.sh')
-rw-r--r--system/kbfs/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/kbfs/doinst.sh b/system/kbfs/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/system/kbfs/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi