diff options
author | root <root@rshg054.dnsready.net> | 2011-11-25 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-25 23:14:55 +0000 |
commit | 6a642c093f29814cdd0fdefeee3ab9400eae490f (patch) | |
tree | f2edeb17bda6dbc9e784455f1b38f3fcc7e5b64a /testing/zsh/zsh.install | |
parent | 5894dd675f4bd3ba296d262fae99b3b87a0f87fd (diff) |
Fri Nov 25 23:14:55 UTC 2011
Diffstat (limited to 'testing/zsh/zsh.install')
-rw-r--r-- | testing/zsh/zsh.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/zsh/zsh.install b/testing/zsh/zsh.install new file mode 100644 index 000000000..e2a53bea8 --- /dev/null +++ b/testing/zsh/zsh.install @@ -0,0 +1,11 @@ +post_install() { + grep -q '/bin/zsh' etc/shells || echo '/bin/zsh' >> etc/shells +} + +post_upgrade() { + post_install +} + +pre_remove() { + sed -i '/^\/bin\/zsh/d' etc/shells +} |