wok diff ntfs-3g/receipt @ rev 18972

pcmanfm-legacy: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 12 07:52:00 2016 +0100 (2016-03-12)
parents c9e270dd464f
children 05abe0736674
line diff
     1.1 --- a/ntfs-3g/receipt	Thu Apr 23 16:47:39 2015 +0300
     1.2 +++ b/ntfs-3g/receipt	Sat Mar 12 07:52:00 2016 +0100
     1.3 @@ -45,11 +45,11 @@
     1.4  # Pre remove and post install commands for Tazpkg.
     1.5  pre_remove()
     1.6  {
     1.7 -	sed -i '/^$PACKAGE$/d' $1/etc/filesystems
     1.8 +	sed -i '/^$PACKAGE$/d' "$1/etc/filesystems"
     1.9  }
    1.10  
    1.11  post_install()
    1.12  {
    1.13 -	grep -qs ^$PACKAGE$ $1/etc/filesystems || \
    1.14 -		echo "$PACKAGE" >> $1/etc/filesystems
    1.15 +	grep -qs ^$PACKAGE$ "$1/etc/filesystems" || \
    1.16 +		echo "$PACKAGE" >> "$1/etc/filesystems"
    1.17  }