diff options
author | Matteo Bernardini | 2019-07-13 09:08:14 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-07-13 09:08:14 +0200 |
commit | 0dca1241983bd5ca82ef423f45626f3e73168444 (patch) | |
tree | 845f896bcfabaf51f3e6d235325be8ae6f584219 /desktop/seafile-client/doinst.sh | |
parent | 1b0aba303888b938f7679da7938027bc29ace85e (diff) | |
download | slackbuilds-3abe86683a818c3d00137b91975452690798d4b6.tar.gz |
20190713.1 global branch merge.current-20190713.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 |