12 lines
190 B
Plaintext
12 lines
190 B
Plaintext
post_install() {
|
|
grep -q '/usr/bin/fish' etc/shells || echo '/usr/bin/fish' >> etc/shells
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
pre_remove() {
|
|
sed -i '/^\/usr\/bin\/fish/d' etc/shells
|
|
}
|