wok-6.x rev 18706
python-pyxml: fix post_install status
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 15:01:11 2015 +0100 (2015-12-16) |
parents | 0ffd72f9b197 |
children | 1067bb7f1e24 |
files | python-pyxml/receipt |
line diff
1.1 --- a/python-pyxml/receipt Wed Dec 16 12:39:51 2015 +0100 1.2 +++ b/python-pyxml/receipt Wed Dec 16 15:01:11 2015 +0100 1.3 @@ -31,6 +31,6 @@ 1.4 # Remove old package. 1.5 post_install() 1.6 { 1.7 - [ -d $1/var/lib/tazpkg/installed/pyxml ] && 1.8 + [ ! -d $1/var/lib/tazpkg/installed/pyxml ] || 1.9 rm -rf $1/var/lib/tazpkg/installed/pyxml 1.10 }