jobcore/dash/dash.install

12 lines
174 B
Plaintext

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
}