desktop/zsh/zsh.install

12 lines
171 B
Plaintext
Raw Normal View History

2010-08-06 06:34:25 +08:00
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
}