diff options
author | root <root@rshg054.dnsready.net> | 2012-07-28 00:02:21 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-28 00:02:21 +0000 |
commit | a5c2e73ba30c769148056635676165a4265eac83 (patch) | |
tree | e9a7043a5fc46bc7021cfb8503fc9245bbee4057 /community-testing/fish/fish.install | |
parent | 2c30604c9ff749660a4b8507eec99e679cf19508 (diff) |
Sat Jul 28 00:02:21 UTC 2012
Diffstat (limited to 'community-testing/fish/fish.install')
-rw-r--r-- | community-testing/fish/fish.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community-testing/fish/fish.install b/community-testing/fish/fish.install new file mode 100644 index 000000000..765006f95 --- /dev/null +++ b/community-testing/fish/fish.install @@ -0,0 +1,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 +} |