# HG changeset patch # User Christophe Lincoln # Date 1244887665 -7200 # Node ID dda533844d18c743374bcff3b36738176f898929 # Parent 61cef885b185b2d1b2b2b9bd867886f9d03231c9 python-turbogears: Remove pkg before building diff -r 61cef885b185 -r dda533844d18 python-turbogears/receipt --- a/python-turbogears/receipt Sat Jun 13 12:01:33 2009 +0200 +++ b/python-turbogears/receipt Sat Jun 13 12:07:45 2009 +0200 @@ -17,6 +17,11 @@ # Rules to configure and make the package. compile_rules() { + # Tgsetup dont build TurboGearsKid and friends if there are already + # installed, so remove python-turbogears before building. + if [ -d /var/lib/tazpkg/installed/python-turbogears ]; then + yes | tazpkg remove python-turbogears + fi # Use tgsetup.py to bootstrap installation with all deps. It will # build: TurbuGears, TurboCheetah, TurboJson and TurboKid. cd $src/tools