wok diff squirrelmail-compatibility-plugin/receipt @ rev 19760

Up: libpng+apng (1.6.28)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:20:46 2017 +0000 (2017-02-19)
parents d51b2411e55e
children 3628cd5813d0
line diff
     1.1 --- a/squirrelmail-compatibility-plugin/receipt	Sat Apr 05 10:12:34 2014 +0000
     1.2 +++ b/squirrelmail-compatibility-plugin/receipt	Sun Feb 19 09:20:46 2017 +0000
     1.3 @@ -32,7 +32,7 @@
     1.4  {
     1.5  	local file
     1.6  	local line
     1.7 -	file=$1/usr/share/squirrelmail/functions/strings.php
     1.8 +	file="$1/usr/share/squirrelmail/functions/strings.php"
     1.9  	line="include_once(SM_PATH . 'plugins/compatibility/functions.php');"
    1.10 -	grep -qs "$line" $file || sed -i "s|.*global.php.*|&\n$line|" $file
    1.11 +	grep -qs "$line" "$file" || sed -i "s|.*global.php.*|&\n$line|" "$file"
    1.12  }