wok diff pxe-kexec/receipt @ rev 19205

linux: add parport_serial.ko.xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 12 09:23:56 2016 +0200 (2016-06-12)
parents 3557ce070a1e
children e9d3c81466d5
line diff
     1.1 --- a/pxe-kexec/receipt	Wed Apr 16 11:50:05 2014 +0000
     1.2 +++ b/pxe-kexec/receipt	Sun Jun 12 09:23:56 2016 +0200
     1.3 @@ -33,8 +33,8 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	grep -q kexec $1/etc/init.d/rc.shutdown &&
     1.8 -	cat >> $1/etc/init.d/rc.shutdown <<EOT
     1.9 +	grep -q kexec "$1/etc/init.d/rc.shutdown" &&
    1.10 +	cat >> "$1/etc/init.d/rc.shutdown" <<EOT
    1.11  # pxe-kexec want kexec in shutdown script.
    1.12  kexec -e 2>&1 > /dev/null
    1.13  EOT
    1.14 @@ -42,5 +42,5 @@
    1.15  
    1.16  post_remove()
    1.17  {
    1.18 -	sed -i '/kexec/d' $1/etc/init.d/rc.shutdown
    1.19 +	sed -i '/kexec/d' "$1/etc/init.d/rc.shutdown"
    1.20  }