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 18 08:00:29 UTC 2012
[aur-mirror.git]
/
fizsh
/
fizsh.install
blob
ef388e0c6dad5f74702cf3bb6372020fb081da54
1
post_install() {
2
if [ ! "`grep /usr/bin/fizsh etc/shells`" ]; then
3
echo "updating /etc/shells... done."
4
sed -i "s|/bin/zsh|/bin/zsh\n/usr/bin/fizsh|" etc/shells
5
fi
6
}
7
8
post_upgrade() {
9
post_install
10
}
11
12
pre_remove() {
13
echo -ne "updating /etc/shells... \n"
14
sed -i '/^\/usr\/bin\/fizsh/d' /etc/shells
15
}