summarylogtreecommitdiffstats
path: root/hilbish.install
blob: cbb25de224ba52593433fb18bddc61e5c9bd0551 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install()  {
  grep -qe '^/usr/bin/hilbish$' /etc/shells || echo '/usr/bin/hilbish' >> /etc/shells
}

post_upgrade()  {
  post_install
}

pre_remove()  {
  sed -ri -e '\|^/usr/bin/hilbish$|d' /etc/shells
}