diff options
author | Ricardo J. Barberis <ricardo.barberis@gmail.com> | 2015-08-22 00:57:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-22 00:57:25 +0700 |
commit | 83175227a504f44bd24be163858f7ecbdf1be693 (patch) | |
tree | 6dfd6eb600cdf60fa0a0475b9f1dd45f30a0cb22 /development/zeal/doinst.sh | |
parent | a6ca00e5c49a293858bf9e520cdf96b6eb1d176d (diff) | |
download | slackbuilds-83175227a504f44bd24be163858f7ecbdf1be693.tar.gz |
development/zeal: Added (offline documentation browser).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/zeal/doinst.sh')
-rw-r--r-- | development/zeal/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/development/zeal/doinst.sh b/development/zeal/doinst.sh new file mode 100644 index 0000000000..9424ce43ff --- /dev/null +++ b/development/zeal/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 |