diff options
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 |