diff options
author | Ricardo J. Barberis <ricardo.barberis@gmail.com> | 2018-03-20 11:08:17 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-03-20 11:08:51 +0000 |
commit | f089409e20a59dd661ee55a30174f624f8df79d5 (patch) | |
tree | 60d170ac926c081061842bfe09dee147379ab5c4 /development/git-cola/doinst.sh | |
parent | ab30d7abec76dbf2b7ea4f8a9b732ca9aeca41c8 (diff) |
development/git-cola: Updated for version 3.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/git-cola/doinst.sh')
-rw-r--r-- | development/git-cola/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/development/git-cola/doinst.sh b/development/git-cola/doinst.sh index 5fb28930db0b9..aea0f894eb32b 100644 --- a/development/git-cola/doinst.sh +++ b/development/git-cola/doinst.sh @@ -1,3 +1,13 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/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 |