#!/bin/bash

# Remove old Navigator.app if it exists
rm -rf $PREFIX/Navigator.app
rm -f /Applications/Navigator.app

cp -r $PREFIX/navigatorapp $PREFIX/Navigator.app
rm -rf $PREFIX/navigatorapp

ln -s -f $PREFIX/Navigator.app /Applications/ || exit 0
