updated on Fri Jan 6 00:09:29 UTC 2012
[aur-mirror.git] / seal / seal.install
blob8863a3da0b8d7b9365e8b1c40ab4948b351a25d4
1 post_install()
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
11 post_upgrade()
13   post_install $1
16 pre_remove()
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."
24 op=$1
25 shift
27 $op $*