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