summarylogtreecommitdiffstats
path: root/posh.install
blob: fda9581f6c28584fe9e588204d38997d348e3f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

post_install() {
  grep -q /bin/posh etc/shells || echo /bin/posh >> etc/shells
}

post_upgrade() {
  post_install $1
}

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