wok diff patch/receipt @ rev 19333

syslinux: adjust custom conf location (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 09:10:20 2016 +0200 (2016-07-17)
parents 3c98163930bb
children 9cc63da7035a
line diff
     1.1 --- a/patch/receipt	Sun Feb 08 22:12:39 2015 +0000
     1.2 +++ b/patch/receipt	Sun Jul 17 09:10:20 2016 +0200
     1.3 @@ -28,12 +28,10 @@
     1.4  # Prevent erasing busybox...
     1.5  pre_install()
     1.6  {
     1.7 -	local root
     1.8 -	root=$1
     1.9 -	rm -f $root/usr/bin/patch
    1.10 +	rm -f "$1/usr/bin/patch"
    1.11  }
    1.12  
    1.13  post_remove()
    1.14  {
    1.15 -	ln -s /bin/busybox /usr/bin/patch
    1.16 +	ln -s /bin/busybox "$1/usr/bin/patch"
    1.17  }