updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / zsh-git / zsh.install
blobddd775ab9ea7643a05e581f771df0d93e00b662a
1 post_install() {
2   if [ ! "`/bin/grep /bin/zsh /etc/shells`" ]; then
3     /bin/sed -i "s|/bin/bash|/bin/bash\n/bin/zsh|" /etc/shells
4   fi
7 post_upgrade() {
8   post_install $1
11 pre_remove() {
12   /bin/sed -i '/^\/bin\/zsh/d' /etc/shells
15 # vim:ts=2:sw=2:et: