diff options
author | Yth - Arnaud <yth@ythogtha.org> | 2018-02-08 16:34:34 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-10 08:09:33 +0700 |
commit | 7a995de505bfbb5ecdfbe82007b1d14924e8cde0 (patch) | |
tree | ed91758d7c0e16040416c9a688ebac06a05422a0 /graphics/trimage/doinst.sh | |
parent | b5c43c36f08c9ded2ca4cef2609d6abdfaae5f22 (diff) |
graphics/trimage: Added (image compressor).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/trimage/doinst.sh')
-rw-r--r-- | graphics/trimage/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/trimage/doinst.sh b/graphics/trimage/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/graphics/trimage/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 |