diff options
author | Matteo Bernardini | 2019-07-20 14:17:55 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-07-20 14:17:55 +0200 |
commit | 1df1fe40b1b2b3271b05c6fef7a4ab57d58665d4 (patch) | |
tree | e2939b3e679d8656c1fc7a85e17fc5e63cd18575 /desktop/seafile-client/doinst.sh | |
parent | 558a2bcdcff72fc39350cf4a3455e11b0f034d02 (diff) | |
download | slackbuilds-current-20190720.1.tar.gz |
20190720.1 global branch merge.current-20190720.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 |