repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git]
/
zsh-git
/
zsh.install
blob
ddd775ab9ea7643a05e581f771df0d93e00b662a
1
post_install() {
2
if [ ! "`/bin/grep /bin/zsh /etc/shells`" ]; then
3
/bin/sed -i "s|/bin/bash|/bin/bash\n/bin/zsh|" /etc/shells
4
fi
5
}
6
7
post_upgrade() {
8
post_install $1
9
}
10
11
pre_remove() {
12
/bin/sed -i '/^\/bin\/zsh/d' /etc/shells
13
}
14
15
# vim:ts=2:sw=2:et: