wok diff python-mysql/receipt @ rev 9388
Up: b43-fwcutter to 014.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 07:49:14 2011 +0000 (2011-03-26) |
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 Sat Mar 26 07:49:14 2011 +0000 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 }