aboutsummaryrefslogtreecommitdiffstats
path: root/main/zsh/zsh.post-upgrade
diff options
context:
space:
mode:
authorkalonji <lonkaji@gmail.com>2011-01-02 12:49:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-03 14:55:23 +0000
commit0344b8067393c6d7fe0311ace3454ad4e71f2c1e (patch)
tree84ceea92fa21cb764a5b245e3f83262568aa9c01 /main/zsh/zsh.post-upgrade
parent89e9c4d33ab73f9c486a0a3bed1f25f8a9b6ed22 (diff)
downloadaports-0344b8067393c6d7fe0311ace3454ad4e71f2c1e.tar.bz2
aports-0344b8067393c6d7fe0311ace3454ad4e71f2c1e.tar.xz
Committer: kalonji <lonkaji@gmail.com> new aport: zsh shell
new file: APKBUILD new file: zsh.post-install new file: zsh.post-upgrade new file: zsh.pre-deinstall
Diffstat (limited to 'main/zsh/zsh.post-upgrade')
-rw-r--r--main/zsh/zsh.post-upgrade3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/zsh/zsh.post-upgrade b/main/zsh/zsh.post-upgrade
new file mode 100644
index 0000000000..46506fbee0
--- /dev/null
+++ b/main/zsh/zsh.post-upgrade
@@ -0,0 +1,3 @@
+#!/bin/sh
+grep -q '/bin/zsh' /etc/shells || echo '/bin/zsh' >> /etc/shells
+exit 0