wok-current diff linux-libre-squashfs/receipt @ rev 20583

libglw-mesa, libglu-mesa, connman: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 14 17:11:28 2018 +0100 (2018-12-14)
parents 051931e905b0
children 9e8d7fd12ee2
line diff
     1.1 --- a/linux-libre-squashfs/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.2 +++ b/linux-libre-squashfs/receipt	Fri Dec 14 17:11:28 2018 +0100
     1.3 @@ -32,14 +32,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  }
    1.20 -