#!/bin/sh #post-install script for Mozilla. #assume current directory is rootfs-complete, which has the final filesystem. if test ! $(pwd) = "/"{ echo "Configuring Mozilla SeaMonkey browser..." echo '#!/bin/sh' > ./usr/local/bin/defaultbrowser echo 'exec mozstart "$@"' >> ./usr/local/bin/defaultbrowser if test ! -f usr/local/bin/gtkmoz{ ln -s mozstart usr/local/bin/gtkmoz } echo '#!/bin/sh' > ./usr/local/bin/defaultemail echo 'exec mozmail "$@"' >> ./usr/local/bin/defaultemail echo '#!/bin/sh' > ./usr/local/bin/defaulthtmleditor echo 'exec mozedit "$@"' >> ./usr/local/bin/defaulthtmleditor echo '#!/bin/sh' > ./usr/local/bin/defaultcontact echo 'exec mozaddressbook "$@"' >> ./usr/local/bin/defaultcontact echo "Note that mozilla and netscape all point to mozstart in /usr/local/bin" echo "...ok, setup for Mozilla (Seamonkey)." echo -n "seamonkey" > /tmp/rightbrwsr.txt }