diff options
author | Larry Hajali <larryhaja@gmail.com> | 2014-03-24 09:01:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-24 09:01:14 +0700 |
commit | 0b6b955dc0aaa866c039605848ee59e5cdcad7d4 (patch) | |
tree | f34a11eef602e0322d5b9376f0eb3e8b843cdfca /misc/subsurface/doinst.sh | |
parent | e520a3e786536b1f4b9dee36ba074a0466da8091 (diff) | |
download | slackbuilds-0b6b955dc0aaa866c039605848ee59e5cdcad7d4.tar.gz |
misc/subsurface: Added (Open Source Dive Log Program).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/subsurface/doinst.sh')
-rw-r--r-- | misc/subsurface/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/subsurface/doinst.sh b/misc/subsurface/doinst.sh new file mode 100644 index 0000000000..3e5691a052 --- /dev/null +++ b/misc/subsurface/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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |