blob: d83930068e2a882114abe75e99435db811e8c3c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
}
post_upgrade() {
post_install
}
|