PREUN
/bin/sh
if [ "$1" = "0" ]; then grep -v '^/bin/tcsh\.static$' /etc/shells > /etc/shells.new mv -f /etc/shells.new /etc/shells fi
POSTIN
/bin/sh
if [ ! -f /etc/shells ]; then echo "/bin/tcsh.static" > /etc/shells else grep -q '^/bin/tcsh\.static$' /etc/shells || echo "/bin/tcsh.static" >> /etc/shells fi