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