summaryrefslogtreecommitdiff
path: root/network/barrier/doinst.sh
diff options
context:
space:
mode:
authorMário Antunes <mariolpantunes@gmail.com>2018-11-23 00:40:52 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-24 12:35:15 +0700
commit9685a78bf41d7cc1c4e64a9248cd920d40276a04 (patch)
tree2de95ba5251412cd883d898b311f0a563b1c041a /network/barrier/doinst.sh
parente38f9763bbffa4aeb0cdfc19f02726bc6594f1e8 (diff)
downloadslackbuilds-9685a78bf41d7cc1c4e64a9248cd920d40276a04.tar.gz
network/barrier: Added (Synergy Fork).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/barrier/doinst.sh')
-rw-r--r--network/barrier/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/barrier/doinst.sh b/network/barrier/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/network/barrier/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi