wok diff tazpanel-theme-sandfive/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 6d57be5e4797
children
line diff
     1.1 --- a/tazpanel-theme-sandfive/receipt	Mon Jun 23 14:54:13 2014 +0300
     1.2 +++ b/tazpanel-theme-sandfive/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -26,10 +26,10 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	sed -i 's|STYLE=".*"|STYLE="sandfive"|' $1/etc/slitaz/tazpanel.conf
     1.8 +	sed -i 's|STYLE=".*"|STYLE="sandfive"|' "$1/etc/slitaz/tazpanel.conf"
     1.9  }
    1.10  
    1.11  pre_remove()
    1.12  {
    1.13 -	sed -i 's|STYLE=".*"|STYLE="default"|' $1/etc/slitaz/tazpanel.conf
    1.14 +	sed -i 's|STYLE=".*"|STYLE="default"|' "$1/etc/slitaz/tazpanel.conf"
    1.15  }