#!/bin/sh

# all done with the installer, a few things to do.
#
# we presume /usr/local/bin is in your path now
# no need to clutter your .profile


# see the postinstall for the why of this bit..

sudo chown root:wheel /usr/local/bin/man2html /Library/WebServer/CGI-Executables /Library/WebServer/CGI-Executables/man.cgi /usr/local/man/man1/man2html.1

sudo chown root:admin /Library/WebServer

sudo chmod 775 /usr/local/bin /usr/local/bin/man2html /Library/WebServer /Library/WebServer/CGI-Executables /Library/WebServer/CGI-Executables/man.cgi /usr/local/man/man1/man2html.1

echo "man2html initialised.."

open http://localhost/cgi-bin/man.cgi