summarylogtreecommitdiffstats
path: root/tako.install
blob: a10e25e399ccdeed0228d43372c573f7ff28a5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  grep -x /usr/bin/tako /etc/shells >/dev/null || echo /usr/bin/tako >> /etc/shells
}

post_remove() {
  sed -i "/^\/usr\/bin\/tako$/d" /etc/shells
}

post_upgrade() {
  post_install
}