wok diff wikiss/receipt @ rev 8400

syslinux: no more awk in shell tools (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 16:37:06 2011 +0100 (2011-02-05)
parents 1a9d64df78f2
children 4cb7a59db958
line diff
     1.1 --- a/wikiss/receipt	Thu May 06 17:17:09 2010 +0200
     1.2 +++ b/wikiss/receipt	Sat Feb 05 16:37:06 2011 +0100
     1.3 @@ -16,6 +16,8 @@
     1.4  {
     1.5  	mv $PACKAGE $src 2> /dev/null
     1.6  	cd $src
     1.7 +	sed -i -e 's/strpos(\$CONTENT/true || &/' \
     1.8 +	       -e 's|^.*cC.*$|\t $CONTENT = preg_replace("/\\([eE]\\)/Umsi", "\&euro;", $CONTENT); // (e)\n\t $CONTENT = preg_replace("/\\([yY]\\)/Umsi", "\&yen;", $CONTENT); // (y)\n&|' index.php
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.