big pacman db update
[cinan.git] / root / var / lib / pacman / local / fakeroot-1.14.3-1 / install
blobc2f62a7a4328792683dc1e33f59556db79d924a7
1 # arg 1: the new package version
2 post_install() {
3         if [ ! "`grep /usr/lib/libfakeroot etc/ld.so.conf`" ]; then
4                 echo -n "updating /etc/ld.so.conf... "
5                 echo "/usr/lib/libfakeroot" >>etc/ld.so.conf
6                 sbin/ldconfig -r .
7                 echo "done."
8         fi
9 echo "The package is built using sysv ipc. If this causes segfaults"
10 echo "see included README file and rebuild the pkg --with-ipc=tcp"
13 # arg 1: the new package version
14 # arg 2: the old package version
15 post_upgrade() {
16         post_install $1
19 # arg 1: the old package version
20 pre_remove() {
21         echo -ne "\nupdating /etc/ld.so.conf... "
22         sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
23         sbin/ldconfig -r .
24         echo "done."
27 op=$1
28 shift
30 $op $*