wok diff pxe-kexec/receipt @ rev 18807

openssh: CVE-2016-0777 and CVE-2016-0778
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 14 18:33:14 2016 +0100 (2016-01-14)
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	Thu Jan 14 18:33:14 2016 +0100
     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  }