summaryrefslogtreecommitdiff
path: root/testing/zsh/zsh.install
blob: e2a53bea86da28a34cb5b425181d78d696c3bac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}