wok-next diff squirrelmail-compatibility-plugin/receipt @ rev 18804
Up vanessa_adt (0.0.9), vanessa_logger (0.0.10), vanessa_socket (0.0.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 13 22:13:51 2016 +0100 (2016-01-13) |
parents | d51b2411e55e |
children | c4e53a39395a |
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 Jan 13 22:13:51 2016 +0100 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 }