wok-4.x rev 9715

glibc-base: remove post_install() it not working and not usefull
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:49:22 2011 +0200 (2011-05-08)
parents c8fb53e181a8
children 9280727ea775
files glibc-base/receipt
line diff
     1.1 --- a/glibc-base/receipt	Sun May 08 23:33:17 2011 +0200
     1.2 +++ b/glibc-base/receipt	Sun May 08 23:49:22 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 -}