wok-next diff linux-libre-hfsplus/receipt @ rev 18925

description.txt should end with 0x0A byte (Carriage Return, Enter) to not glue with the next description in descriptions.txt.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 25 15:02:38 2016 +0200 (2016-02-25)
parents 051931e905b0
children
line diff
     1.1 --- a/linux-libre-hfsplus/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.2 +++ b/linux-libre-hfsplus/receipt	Thu Feb 25 15:02:38 2016 +0200
     1.3 @@ -31,13 +31,13 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	grep -qs ^${PACKAGE##*-}$ $1/etc/filesystems || \
     1.8 -		echo "${PACKAGE##*-}" >> $1/etc/filesystems
     1.9 +	grep -qs ^${PACKAGE##*-}$ "$1/etc/filesystems" || \
    1.10 +		echo "${PACKAGE##*-}" >> "$1/etc/filesystems"
    1.11  	chroot "$1/" depmod -a $VERSION-slitaz
    1.12  }
    1.13  
    1.14  post_remove()
    1.15  {
    1.16 -	sed -i "/^${PACKAGE##*-}\$/d" $1/etc/filesystems
    1.17 +	sed -i "/^${PACKAGE##*-}\$/d" "$1/etc/filesystems"
    1.18  	chroot "$1/" depmod -a $VERSION-slitaz
    1.19  }