summaryrefslogtreecommitdiff
path: root/community-testing/fish/fish.install
blob: 765006f95dfc382370a334a81b3c6ce7091764a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
	grep -q '/usr/bin/zsh' etc/shells || echo '/usr/bin/zsh' >> etc/shells
}

post_upgrade() {
  post_install
}

pre_remove() {
  sed -i '/^\/usr\/bin\/fish/d' /etc/shells
}