summaryrefslogtreecommitdiff
path: root/network/megasync/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-31 08:59:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-31 08:59:48 +0700
commitb1f60f39986316efeacbef4b9bdda4049e5ed7bb (patch)
tree35a029a7735dbb5fb654e9976adc263ff5bb88dd /network/megasync/doinst.sh
parent6a6261ee0444d413c99a2ffb9ecd5542c7083317 (diff)
downloadslackbuilds-b1f60f39986316efeacbef4b9bdda4049e5ed7bb.tar.gz
network/megasync: Added (Mega Sync Client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/megasync/doinst.sh')
-rw-r--r--network/megasync/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/megasync/doinst.sh b/network/megasync/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/network/megasync/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