wok diff python-docutils/receipt @ rev 20562

xv: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 21:33:25 2018 +0100 (2018-12-12)
parents 1067bb7f1e24
children 504075bdacfe
line diff
     1.1 --- a/python-docutils/receipt	Wed Dec 16 15:49:50 2015 +0100
     1.2 +++ b/python-docutils/receipt	Wed Dec 12 21:33:25 2018 +0100
     1.3 @@ -29,6 +29,6 @@
     1.4  # Remove old package.
     1.5  post_install()
     1.6  {
     1.7 -	[ ! -d $1/var/lib/tazpkg/installed/docutils ] ||
     1.8 -	rm -rf $1/var/lib/tazpkg/installed/docutils
     1.9 +	[ ! -d "$1/var/lib/tazpkg/installed/docutils" ] ||
    1.10 +	rm -rf "$1/var/lib/tazpkg/installed/docutils"
    1.11  }