blob: 0e488b880ed077433690f05c3824442d4f0cb5e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
post_install() {
grep -qe '^/usr/bin/nu$' etc/shells || echo '/usr/bin/nu' >> etc/shells
}
post_upgrade() {
post_install
}
pre_remove() {
sed -i -r '/^\/usr\/bin\/nu$/d' etc/shells
}
|