#!/bin/sh if [ "$2" = "DEINSTALL" ]; then /bin/cp /etc/shells /etc/shells.bak /usr/bin/grep -v '/usr/local/bin/fish' /etc/shells.bak >> /etc/shells /bin/rm -f /etc/shells.bak fi