# HG changeset patch # User Pascal Bellard # Date 1277298861 -7200 # Node ID a40238673a421f6e55c540a4ccd222817e598993 # Parent cd97eee8cc1e9fd6543f6992c5d3ac84b9e0583d newt: fix for multiple python versions diff -r cd97eee8cc1e -r a40238673a42 newt/receipt --- a/newt/receipt Wed Jun 23 12:21:19 2010 +0200 +++ b/newt/receipt Wed Jun 23 15:14:21 2010 +0200 @@ -19,7 +19,7 @@ # Fixe group/owner chown -R root.root $src - python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|') + python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|' | head -1) tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|') echo "Patching for $python and $tcl..."