summaryrefslogtreecommitdiff
path: root/desktop/seafile-gui/doinst.sh
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-02-07 04:48:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-07 04:59:40 +0700
commit2fd93fc301475d1c25b0c9365d640ba2301b1c38 (patch)
tree905001e7ec0f3dba8775859b63473596afa07572 /desktop/seafile-gui/doinst.sh
parent69ab7876c0b628ac7043dd97a1bc5e4a0ee86b06 (diff)
downloadslackbuilds-2fd93fc301475d1c25b0c9365d640ba2301b1c38.tar.gz
desktop/seafile-gui: Added (Seafile Desktop Client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/seafile-gui/doinst.sh')
-rw-r--r--desktop/seafile-gui/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/seafile-gui/doinst.sh b/desktop/seafile-gui/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/desktop/seafile-gui/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