wok-current diff dhcp6/receipt @ rev 7100

Add grep
author Paul Issott <paul@slitaz.org>
date Wed Nov 03 10:07:25 2010 +0000 (2010-11-03)
parents 27a452d91f44
children 82e83ddb59bd
line diff
     1.1 --- a/dhcp6/receipt	Thu Apr 08 17:30:40 2010 +0200
     1.2 +++ b/dhcp6/receipt	Wed Nov 03 10:07:25 2010 +0000
     1.3 @@ -18,6 +18,10 @@
     1.4  {
     1.5  	ln -s $src $PACKAGE-$VERSION 2> /dev/null
     1.6  	cd $src
     1.7 +	grep -q MYEOL includes/dhctoken.h ||
     1.8 +	sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
     1.9 +		includes/dhctoken.h
    1.10 +	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
    1.11  	for i in start-without-ipv6 ; do
    1.12  		[ -f $i.done ] && continue
    1.13  		patch -p1 < ../stuff/$i.u || return 1