archrelease: copy trunk to extra-x86_64
[arch-packages.git] / zsh / trunk / zsh.install
blobc9bd5b6633eabfae5c53eae42aee06583c089c8c
1 post_install() {
2         grep -qe '^/bin/zsh$' etc/shells || echo '/bin/zsh' >> etc/shells
3         grep -qe '^/usr/bin/zsh$' etc/shells || echo '/usr/bin/zsh' >> etc/shells
6 post_upgrade() {
7         post_install
10 pre_remove() {
11         sed -i -r '/^(\/usr)?\/bin\/zsh$/d' etc/shells