wok-current diff glibc-base/receipt @ rev 9785

gen-init-cpio: fix build
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 15:15:03 2011 +0200 (2011-05-12)
parents 22bb1e6e0ef0
children 311258b900d3
line diff
     1.1 --- a/glibc-base/receipt	Sun Feb 20 04:57:30 2011 +0100
     1.2 +++ b/glibc-base/receipt	Thu May 12 15:15:03 2011 +0200
     1.3 @@ -36,19 +36,8 @@
     1.4  	done
     1.5  }
     1.6  
     1.7 -# Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7
     1.8 -# files.
     1.9 +# Remove an eventual locale-archive since we use directories.
    1.10  pre_install()
    1.11  {
    1.12  	rm -f $1/usr/lib/locale/locale-archive
    1.13  }
    1.14 -
    1.15 -post_install()
    1.16 -{
    1.17 -	for i in $(grep $VERSION.so $1/var/lib/tazpkg/installed/files.list); do
    1.18 -		for lib in $1$(echo $i | sed "s/$VERSION/*/"); do
    1.19 -			[ $lib == $1$i ] && continue
    1.20 -			rm -f $lib
    1.21 -		done
    1.22 -	done
    1.23 -}