summaryrefslogtreecommitdiffstats
path: root/desktop/seafile-client/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2020-02-24 11:30:13 +0100
committer Matteo Bernardini2020-02-24 11:30:13 +0100
commit27811f4c33fd0b9a2e7ea64a4fbf4969d4e56bd4 (patch)
tree3887c02a1345299dccb436665f332db2411deec8 /desktop/seafile-client/doinst.sh
parent5de2bc5ab8f479fb924d4c5b543c6e0a37999431 (diff)
downloadslackbuilds-27811f4c33fd0b9a2e7ea64a4fbf4969d4e56bd4.tar.gz
20200224.1 global branch merge.current-20200224.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