diff options
author | B. Watson <yalhcru@gmail.com> | 2014-06-19 22:55:07 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-19 22:55:07 +0700 |
commit | 2c1adc18ed1833be2dff1aac3924ae3fbf5c800b (patch) | |
tree | 382ae3761a2d9f89b348b91e4e6ca19d8dba6603 /network/mosaic-ck/doinst.sh | |
parent | 8c2db2dd95c60c61337dcaa2f0b40ed4479598e3 (diff) | |
download | slackbuilds-2c1adc18ed1833be2dff1aac3924ae3fbf5c800b.tar.gz |
network/mosaic-ck: Added (Fork of NCSA Mosaic).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mosaic-ck/doinst.sh')
-rw-r--r-- | network/mosaic-ck/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/network/mosaic-ck/doinst.sh b/network/mosaic-ck/doinst.sh new file mode 100644 index 0000000000..6723fb108e --- /dev/null +++ b/network/mosaic-ck/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 there's no Mosaic link, take over: +if [ ! -r usr/bin/Mosaic ]; then + ( cd usr/bin ; ln -sf mosaic-ck Mosaic ) + ( cd usr/man/man1 ; ln -sf mosaic-ck.1.gz Mosaic.1.gz ) +fi |