wok-next rev 10954

uclibc-cross-compiler-i486: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 17 16:29:30 2011 +0200 (2011-09-17)
parents 3a281a978a7a
children afdc481c3d97
files uclibc-cross-compiler-i486/receipt
line diff
     1.1 --- a/uclibc-cross-compiler-i486/receipt	Tue Sep 13 13:48:32 2011 +0000
     1.2 +++ b/uclibc-cross-compiler-i486/receipt	Sat Sep 17 16:29:30 2011 +0200
     1.3 @@ -24,12 +24,7 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	for i in $(cd $1/ ; ls usr/share/$PACKAGE/lib/ld-uClibc.so*); do
     1.8 -		[ -e $1/lib/$(basename $i) ] || ln -s /$i $1/lib
     1.9 -	done
    1.10 -	cat <<EOT
    1.11 -Add /usr/share/$PACKAGE/lib in your LD_LIBRARY_PATH to enable the shared libraries
    1.12 -EOT
    1.13 +	chroot "$1/" /usr/bin/uclibc-${PACKAGE##*-}-ldconfig
    1.14  }
    1.15  
    1.16  pre_remove()