summaryrefslogtreecommitdiffstats
path: root/desktop/seafile-client/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2020-09-12 20:31:23 +0200
committer Matteo Bernardini2020-09-12 20:31:23 +0200
commitb38ad4464a26bbe8c11a8ec3d2a44467a9f80c19 (patch)
tree79336dddbe92db427d5b2b9fd50541954114ff5c /desktop/seafile-client/doinst.sh
parentb2643f7815ef7bbf399288ba0e383b0f293ce05e (diff)
downloadslackbuilds-current-20200912.1.tar.gz
20200912.1 global branch merge.current-20200912.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