PREUN
/bin/sh
if [ "$1" = 0 ]; then umask 022 grep -v '^/bin/ash\.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/ash.static" >> /etc/shells else if ! grep -q '^/bin/ash.static$' /etc/shells ; then echo "/bin/ash.static" >> /etc/shells fi fi