summaryrefslogtreecommitdiff
path: root/testing/dash/dash.install
blob: 6b04cba300c00224bbca879ac6a78a0d457d4395 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
	grep -q '/bin/dash' etc/shells || echo '/bin/dash' >> etc/shells
}

post_upgrade() {
	post_install
}

pre_remove() {
	sed -i '/^\/bin\/dash/d' etc/shells
}