wok rev 3423

python-turbogears: Remove pkg before building
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 12:07:45 2009 +0200 (2009-06-13)
parents 61cef885b185
children b2a0b2a10a64
files python-turbogears/receipt
line diff
     1.1 --- a/python-turbogears/receipt	Sat Jun 13 12:01:33 2009 +0200
     1.2 +++ b/python-turbogears/receipt	Sat Jun 13 12:07:45 2009 +0200
     1.3 @@ -17,6 +17,11 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	# Tgsetup dont build TurboGearsKid and friends if there are already
     1.8 +	# installed, so remove python-turbogears before building.
     1.9 +	if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then
    1.10 +		yes | tazpkg remove python-turbogears
    1.11 +	fi
    1.12  	# Use tgsetup.py to bootstrap installation with all deps. It will
    1.13  	# build: TurbuGears, TurboCheetah, TurboJson and TurboKid.
    1.14  	cd $src/tools