updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fizsh / fizsh.install
blobef388e0c6dad5f74702cf3bb6372020fb081da54
1 post_install() {
2         if [ ! "`grep /usr/bin/fizsh etc/shells`" ]; then
3                 echo "updating /etc/shells... done."
4                 sed -i "s|/bin/zsh|/bin/zsh\n/usr/bin/fizsh|" etc/shells
5         fi
8 post_upgrade() {
9         post_install
12 pre_remove() {
13         echo -ne "updating /etc/shells... \n"
14         sed -i '/^\/usr\/bin\/fizsh/d' /etc/shells