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 16:09:46 UTC 2012
[aur-mirror.git]
/
cernlib2006
/
cernlib2006.install
blob
e1c42aebbfec96d4c4f494de022b7aff052363ee
1
post_install() {
2
sudo echo "/usr/local/lib/cernlib" >>/etc/ld.so.conf
3
sudo ldconfig
4
}
5
6
post_upgrade() {
7
/bin/true
8
}
9
10
pre_remove() {
11
sudo sed -i -e "s:^/usr/local/lib/cernlib::" /etc/ld.so.conf
12
sudo ldconfig
13
}
14
15
op=$1
16
shift
17
18
$op "$@"
19