summaryrefslogtreecommitdiff
path: root/testing/zsh/zsh.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/zsh/zsh.install')
-rw-r--r--testing/zsh/zsh.install11
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
+}