# HG changeset patch # User Christophe Lincoln # Date 1304891362 -7200 # Node ID 174e398ee0ab17ec02f99849b5bd503cb3d9db8f # Parent c8fb53e181a825df47d463e89899c1adec6700bc glibc-base: remove post_install() it not working and not usefull diff -r c8fb53e181a8 -r 174e398ee0ab glibc-base/receipt --- a/glibc-base/receipt Sun May 08 23:33:17 2011 +0200 +++ b/glibc-base/receipt Sun May 08 23:49:22 2011 +0200 @@ -36,19 +36,8 @@ done } -# Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7 -# files. +# Remove an eventual locale-archive since we use directories. pre_install() { rm -f $1/usr/lib/locale/locale-archive } - -post_install() -{ - for i in $(grep $VERSION.so $1/var/lib/tazpkg/installed/files.list); do - for lib in $1$(echo $i | sed "s/$VERSION/*/"); do - [ $lib == $1$i ] && continue - rm -f $lib - done - done -}