diff options
author | Matteo Bernardini | 2019-01-26 08:45:09 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-01-26 08:45:09 +0100 |
commit | 9d2325989c32357338a62d378cfa5e9ed623aaba (patch) | |
tree | 60d0ddf2ffebb1920f3813908104b97c3b42c484 /desktop/seafile-client/doinst.sh | |
parent | f8717ee2eb30c24fb4e808057c85e9d3d598a2c5 (diff) | |
download | slackbuilds-e180355aec6c9fdbb33c907e40d02ccd9e6eb317.tar.gz |
20190126.1 global branch merge.current-20190126.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 |