wok-6.x diff python-mysql/receipt @ rev 18707
fix some post_install status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 15:49:50 2015 +0100 (2015-12-16) |
parents | 16df76e1fc6a |
children | 9e01bc6321ea |
line diff
1.1 --- a/python-mysql/receipt Fri May 22 17:34:18 2015 +0300 1.2 +++ b/python-mysql/receipt Wed Dec 16 15:49:50 2015 +0100 1.3 @@ -32,8 +32,7 @@ 1.4 # Remove old package. 1.5 post_install() 1.6 { 1.7 - if [ -d $1/var/lib/tazpkg/installed/mysql-python ]; then 1.8 + [ ! -d $1/var/lib/tazpkg/installed/mysql-python ] || 1.9 rm -rf $1/var/lib/tazpkg/installed/mysql-python 1.10 - fi 1.11 } 1.12