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 Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git]
/
sudosh
/
sudosh.install
blob
40b83b4d34d6c77fdbe0dd6edaca592caf5a1f26
1
post_install() {
2
grep -q '/usr/bin/sudosh' etc/shells || echo '/usr/bin/sudosh' >> etc/shells
3
}
4
5
post_upgrade() {
6
post_install
7
}
8
9
pre_remove() {
10
sed -i '/^\/usr\/bin\/sudosh/d' etc/shells
11
}