diff options
author | Fellype do Nascimento <fellype(at)gmail.com> | 2017-06-02 01:19:59 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-06-02 01:51:07 +0100 |
commit | a01dc1fb22d2e8ceee0c2f60c6661657e39905c1 (patch) | |
tree | 18a89a75e50a30add3af175856dd3c88e510f8d8 /academic/scidavis/doinst.sh | |
parent | 8f303c60a694d98c4d9aad89f29c27536095f519 (diff) | |
download | slackbuilds-a01dc1fb22d2e8ceee0c2f60c6661657e39905c1.tar.gz |
academic/scidavis: Updated for version 1.17.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/scidavis/doinst.sh')
-rw-r--r-- | academic/scidavis/doinst.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/academic/scidavis/doinst.sh b/academic/scidavis/doinst.sh new file mode 100644 index 0000000000..d4daff51d1 --- /dev/null +++ b/academic/scidavis/doinst.sh @@ -0,0 +1,19 @@ +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 + +if [ -e usr/share/icons/locolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/locolor >/dev/null 2>&1 + fi +fi |