12 lines
208 B
Plaintext
12 lines
208 B
Plaintext
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
|
|
}
|