cookutils rev 150

cook: strip down also python package itself
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 11:51:21 2011 +0200 (2011-05-12)
parents ccc898c42997
children 4a2868c20a75
files cook
line diff
     1.1 --- a/cook	Thu May 12 11:25:13 2011 +0200
     1.2 +++ b/cook	Thu May 12 11:51:21 2011 +0200
     1.3 @@ -359,7 +359,7 @@
     1.4  	status
     1.5  
     1.6  	# Remove Python .pyc and .pyo from packages.
     1.7 -	if echo "$DEPENDS" | fgrep -q "python"; then
     1.8 +	if echo "$PACKAGE $DEPENDS" | fgrep -q "python"; then
     1.9  		gettext "Removing Python compiled files..."
    1.10  		find $fs -type f -name "*.pyc" -delete 2>/dev/null
    1.11  		find $fs -type f -name "*.pyo" -delete 2>/dev/null