wok-6.x diff python-jinja2/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 1067bb7f1e24
children 814362194a8d
line diff
     1.1 --- a/python-jinja2/receipt	Wed Dec 16 15:49:50 2015 +0100
     1.2 +++ b/python-jinja2/receipt	Sun Dec 20 15:13:45 2015 +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/jinja2 ] ||
     1.8 -	rm -rf $1/var/lib/tazpkg/installed/jinja2
     1.9 +	[ ! -d "$1/var/lib/tazpkg/installed/jinja2" ] ||
    1.10 +	rm -rf "$1/var/lib/tazpkg/installed/jinja2"
    1.11  }