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

post_upgrade() {
  post_install
}

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