summaryrefslogtreecommitdiffstats
path: root/desktop/seafile-client/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-18 09:39:52 +0200
committer Matteo Bernardini2019-08-18 09:39:52 +0200
commit6b4dcc675fdfd2b11080d203d1807cbfab2ce79b (patch)
tree90a301b976acf4d029db86f7aec5dbb14034eae9 /desktop/seafile-client/doinst.sh
parentd04189e642ca17186cb9b2b5899fa9c12aceb782 (diff)
downloadslackbuilds-6b4dcc675fdfd2b11080d203d1807cbfab2ce79b.tar.gz
20190818.1 global branch merge.current-20190818.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