wok-next diff hardware-ibm-6272/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents 7d5789c51e7e
children d5aab818505e
line diff
     1.1 --- a/hardware-ibm-6272/receipt	Tue Mar 24 12:51:51 2015 +0100
     1.2 +++ b/hardware-ibm-6272/receipt	Wed Oct 25 11:21:45 2017 +0200
     1.3 @@ -43,11 +43,11 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  pre_remove()
     1.6  {
     1.7 -	sed -i 's/pnp.sh //' $1/etc/rcS.conf
     1.8 +	sed -i 's/pnp.sh //' "$1/etc/rcS.conf"
     1.9  }
    1.10  
    1.11  post_install()
    1.12  {
    1.13 -	grep pnp.sh $1/etc/rcS.conf ||
    1.14 -	sed -i 's/RUN_SCRIPTS="/&pnp.sh /' $1/etc/rcS.conf
    1.15 +	grep pnp.sh "$1/etc/rcS.conf" ||
    1.16 +	sed -i 's/RUN_SCRIPTS="/&pnp.sh /' "$1/etc/rcS.conf"
    1.17  }