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 Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git]
/
ast-ksh
/
ast-ksh.install
blob
13c2cb50914d52914020621612972055686782c7
1
post_install() {
2
grep -x /bin/ksh /etc/shells > /dev/null || echo /bin/ksh >> /etc/shells
3
}
4
5
post_upgrade() {
6
post_install $1
7
}
8
9
post_remove() {
10
sed -i '\,^/bin/ksh$,d' /etc/shells
11
echo "/bin/ksh is removed from /etc/shells."
12
}