diff options
author | M.Dinslage <daedra1980@gmail.com> | 2016-10-23 08:02:12 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-23 08:02:12 +0700 |
commit | b83240095210e7ff6fa933e76fe04f3059ab91f5 (patch) | |
tree | deb6febf092d682792229167543e14116d8c5b0f /gis/opencpn/doinst.sh | |
parent | b71f9ca81b669d4805a4d9c38b312dcf855abeb1 (diff) |
gis/opencpn: Added (A Chartplotter and GPS Navigation Software).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/opencpn/doinst.sh')
-rw-r--r-- | gis/opencpn/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gis/opencpn/doinst.sh b/gis/opencpn/doinst.sh new file mode 100644 index 000000000000..0ba571b5b0c4 --- /dev/null +++ b/gis/opencpn/doinst.sh @@ -0,0 +1,10 @@ +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 |