wok diff polipo/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 cc6a579503a6
children 970c5ec9a60a
line diff
     1.1 --- a/polipo/receipt	Thu Apr 17 10:53:56 2014 +0400
     1.2 +++ b/polipo/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -35,8 +35,8 @@
     1.4  post_install()                          
     1.5  {  
     1.6  	echo -n "Creating disk cache..."                                    
     1.7 -	mkdir $1/var/cache/polipo          
     1.8 -	chown tux.tux $1/var/cache/polipo  
     1.9 +	mkdir "$1/var/cache/polipo"
    1.10 +	chown tux.tux "$1/var/cache/polipo"
    1.11  	status
    1.12  }  
    1.13  
    1.14 @@ -44,7 +44,7 @@
    1.15  post_remove()
    1.16  {
    1.17  	echo -n "Removing disk cache..."
    1.18 -	rm -rf $1/var/cache/polipo
    1.19 +	rm -rf "$1/var/cache/polipo"
    1.20  	status
    1.21  }                                    
    1.22