desktop/fish/fish.install
2019-01-11 00:08:55 +01:00

12 lines
193 B
Plaintext

post_install() {
grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells
}
post_upgrade() {
post_install
}
pre_remove() {
sed -ri '\|^/usr/bin/fish$|d' etc/shells
}