summaryrefslogtreecommitdiffstats
path: root/desktop/seafile-client/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2019-05-01 09:57:15 +0200
committer Matteo Bernardini2019-05-01 09:57:15 +0200
commit1ea5e7f013581bee3512b5eb0a6f810b1578d6ba (patch)
tree7a81b0dc19351b9c924e08050c6be21fff8565cd /desktop/seafile-client/doinst.sh
parenta7ecdbba095706df06b24afd23e97aaf57621fba (diff)
downloadslackbuilds-8d11cd4f0f5c8b35d69262d794923b25970352f7.tar.gz
20190501.1 global branch merge.current-20190501.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/seafile-client/doinst.sh')
-rw-r--r--desktop/seafile-client/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/seafile-client/doinst.sh b/desktop/seafile-client/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/desktop/seafile-client/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi