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

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