wok-4.x diff python-mysql/receipt @ rev 9263

djmount: partial fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 10:40:04 2011 +0100 (2011-03-15)
parents 2a19d6b11178
children 5d9a6e5f6f88
line diff
     1.1 --- a/python-mysql/receipt	Tue Dec 29 18:13:20 2009 +0000
     1.2 +++ b/python-mysql/receipt	Tue Mar 15 10:40:04 2011 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="python-mysql"
     1.6  SOURCE="MySQL-python"
     1.7 -VERSION="1.2.3c1"
     1.8 +VERSION="1.2.3"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="A Python interface to MySQL ."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -32,5 +32,7 @@
    1.13  # Remove old package.
    1.14  post_install()
    1.15  {
    1.16 -	rm -rf $1/var/lib/tazpkg/installed/mysql-python
    1.17 +	if [ -d $1/var/lib/tazpkg/installed/mysql-python ]; then
    1.18 +		rm -rf $1/var/lib/tazpkg/installed/mysql-python
    1.19 +	fi
    1.20  }