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 }