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 Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git]
/
zinc-emu
/
zinc.install
blob
af8fe40dae34b4d07c7fbe074b880ee335c0e1ea
1
post_install()
2
{
3
if [ ! "`grep /usr/lib/zinc-emu /etc/ld.so.conf`" ]; then
4
echo -n "updating /etc/ld.so.conf... "
5
echo "/usr/lib/zinc-emu" >> /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\/zinc-emu/d' -i /etc/ld.so.conf
20
/sbin/ldconfig -r .
21
echo "done."
22
}
23
24
op=$1
25
shift
26
27
$op $*