desktop/zsh/zsh.install
2010-08-05 22:34:25 +00:00

12 lines
171 B
Plaintext

post_install() {
grep -q '/bin/zsh' etc/shells || echo '/bin/zsh' >> etc/shells
}
post_upgrade() {
post_install
}
pre_remove() {
sed -i '/^\/bin\/zsh/d' etc/shells
}