POSTIN
/bin/sh
if [ ! -f /etc/shells ]; then echo "/bin/zsh" > /etc/shells else grep '^/bin/zsh' /etc/shells > /dev/null || echo "/bin/zsh" >> /etc/shells fi /sbin/install-info /usr/share/info/zsh.info.bz2 --dir=/usr/share/info/dir;
POSTUN
/bin/sh
if [ ! -x /bin/zsh ]; then grep -v '^/bin/zsh$' /etc/shells | grep -v '^/bin/zsh$'> /etc/shells.rpm mv /etc/shells.rpm /etc/shells fi if [ "$1" = "0" ]; then /sbin/install-info \ /usr/share/info/zsh.info.bz2 --dir=/usr/share/info/dir --remove ; fi