updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / zinc-emu / zinc.install
blobaf8fe40dae34b4d07c7fbe074b880ee335c0e1ea
1 post_install()
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
11 post_upgrade()
13   post_install $1
16 pre_remove()
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."
24 op=$1
25 shift
27 $op $*