diff options
author | B. Watson <yalhcru@gmail.com> | 2016-10-28 23:35:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-28 23:36:03 +0700 |
commit | 5254595706a3c2ba807a0f405075457698e73d29 (patch) | |
tree | 610cbc57e946388db7ff165920b1949e4a0e0019 /network/mosaic-ck/doinst.sh | |
parent | 07d84c0c1fbe4d45527dd0131cf8ba65cdf3c225 (diff) |
network/mosaic-ck: Added (Cameron Kaiser's 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 0000000000000..6723fb108edc8 --- /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 |