diff options
author | Matteo Bernardini | 2018-12-09 12:32:07 +0100 |
---|---|---|
committer | Matteo Bernardini | 2018-12-09 12:32:07 +0100 |
commit | 454df7afeb68c41a3d64d11454663c88c996b94c (patch) | |
tree | 69bbec2a907afeafc27a944f3f3bcba80e6eb262 /desktop/seafile-client/doinst.sh | |
parent | c7b4522d31458fb85212293fdb40f7e352a9be71 (diff) | |
download | slackbuilds-current-20181209.1.tar.gz |
20181209.1 global branch merge.current-20181209.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/seafile-client/doinst.sh')
-rw-r--r-- | desktop/seafile-client/doinst.sh | 9 |
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 |