wok diff glibc-base/receipt @ rev 6590

Added battery patch to lxpanel to fix 100% battery power bug.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 04:48:51 2010 +0000 (2010-10-09)
parents 8f591bab8b6f
children f8cd3eece9c0
line diff
     1.1 --- a/glibc-base/receipt	Thu May 27 08:34:49 2010 +0200
     1.2 +++ b/glibc-base/receipt	Sat Oct 09 04:48:51 2010 +0000
     1.3 @@ -45,7 +45,10 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	rm -f $1/lib/*2.3.6.so
     1.8 -	rm -f $1/lib/*2.7.so
     1.9 -	rm -f $1/lib/*2.9.so
    1.10 +	for i in $(grep $VERSION.so $1/var/lib/tazpkg/installed/files.list); do
    1.11 +		for lib in $1$(echo $i | sed "s/$VERSION/*/"); do
    1.12 +			[ $lib == $1$i ] && continue
    1.13 +			rm -f $lib
    1.14 +		done
    1.15 +	done
    1.16  }