diff options
author | Fellype do Nascimento <fellype@gmail.com> | 2014-12-12 07:46:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-12 14:19:06 +0700 |
commit | 04b677c3427a09ed9c579c87fccd46f5aa76bebe (patch) | |
tree | 7677a91e64cb4c676df270d8d18c568d3c5cd7f0 /academic/Kst/doinst.sh | |
parent | 2df3e4fe8fb8a35e4da7f445180060310db3052c (diff) | |
download | slackbuilds-04b677c3427a09ed9c579c87fccd46f5aa76bebe.tar.gz |
academic/Kst: Added (KDE4 Plotting Tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/Kst/doinst.sh')
-rw-r--r-- | academic/Kst/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/academic/Kst/doinst.sh b/academic/Kst/doinst.sh new file mode 100644 index 0000000000..9424ce43ff --- /dev/null +++ b/academic/Kst/doinst.sh @@ -0,0 +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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |