
scriptname="$0"
step="$1"
keywords="$2"
pkglist="$3"

# Source in the standard functions library, ccsSetup.sh
. ccsSetup.sh

doPostExport() {
	echo "/bin/tcsh" >> /etc/shells
}

doPostUnExport() {
	grep -v /bin/tcsh /etc/shells > /tmp/ccs$$
        cp /tmp/ccs$$ /etc/shells
        rm -f /tmp/ccs$$
}

ccs_return_value=0

case "$step" in
        POST_EXPORT) doPostExport ;;
        POST_UNEXPORT) doPostUnExport ;;
esac

exit $ccs_return_value

