wok-next rev 5709

newt: fix for multiple python versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 23 15:14:21 2010 +0200 (2010-06-23)
parents cd97eee8cc1e
children 932522d70bdb
files newt/receipt
line diff
     1.1 --- a/newt/receipt	Wed Jun 23 12:21:19 2010 +0200
     1.2 +++ b/newt/receipt	Wed Jun 23 15:14:21 2010 +0200
     1.3 @@ -19,7 +19,7 @@
     1.4  	# Fixe group/owner
     1.5  	chown -R root.root $src
     1.6  
     1.7 -	python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|')
     1.8 +	python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|' | head -1)
     1.9  	tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|')
    1.10  
    1.11  	echo "Patching for $python and $tcl..."