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 Fri Jan 6 00:09:29 UTC 2012
[aur-mirror.git]
/
seal
/
seal.install
blob
8863a3da0b8d7b9365e8b1c40ab4948b351a25d4
1
post_install()
2
{
3
if [ ! "`grep /usr/lib/seal /etc/ld.so.conf`" ]; then
4
echo -n "updating /etc/ld.so.conf... "
5
echo "/usr/lib/seal" >> /etc/ld.so.conf
6
/sbin/ldconfig -r .
7
echo "done."
8
fi
9
}
10
11
post_upgrade()
12
{
13
post_install $1
14
}
15
16
pre_remove()
17
{
18
echo -ne "\nupdating /etc/ld.so.conf... "
19
sed -e '/\/usr\/lib\/seal/d' -i /etc/ld.so.conf
20
/sbin/ldconfig -r .
21
echo "done."
22
}
23
24
op=$1
25
shift
26
27
$op $*