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 Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git]
/
grass-trunk
/
grass.install
blob
116f57cc650e5644fb2fb36084f0054ed28b81ce
1
post_install() {
2
sed -e '/\/opt\/grass-*/d' -i /etc/ld.so.conf
3
echo '/opt/grass/lib' >> etc/ld.so.conf
4
sbin/ldconfig -r .
5
}
6
7
post_upgrade() {
8
post_install $1
9
}
10
11
pre_remove() {
12
sed -e '/\/opt\/grass-*\/lib/d' -i /etc/ld.so.conf
13
sbin/ldconfig -r .
14
}
15