wok-6.x diff squirrelmail-compatibility-plugin/receipt @ rev 20400

code2: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 22:28:52 2018 +0300 (2018-06-27)
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	Wed Jun 27 22:28:52 2018 +0300
     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  }