wok rev 7722
Up: python-mysql to 1.2.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Dec 19 14:47:43 2010 +0000 (2010-12-19) |
parents | fc1c0320fa79 |
children | 23ad0b782aaf |
files | python-mysql/receipt |
line diff
1.1 --- a/python-mysql/receipt Sun Dec 19 12:51:29 2010 +0000 1.2 +++ b/python-mysql/receipt Sun Dec 19 14:47:43 2010 +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 }