wok diff squirrelmail-compatibility-plugin/receipt @ rev 13798
Fix: libdrm version (2.4.34->2.4.40)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 06 04:25:57 2013 +0300 (2013-01-06) |
parents | 91a615759636 |
children | 380ffe05937a |
line diff
1.1 --- a/squirrelmail-compatibility-plugin/receipt Fri Mar 04 00:29:16 2011 +0100 1.2 +++ b/squirrelmail-compatibility-plugin/receipt Sun Jan 06 04:25:57 2013 +0300 1.3 @@ -24,3 +24,12 @@ 1.4 mkdir -p $fs/usr/share/squirrelmail/plugins 1.5 cp -a $_pkg/$SOURCE $fs/usr/share/squirrelmail/plugins 1.6 } 1.7 + 1.8 +post_install() 1.9 +{ 1.10 + local file 1.11 + local line 1.12 + file=$1/usr/share/squirrelmail/functions/strings.php 1.13 + line="include_once(SM_PATH . 'plugins/compatibility/functions.php');" 1.14 + grep -qs "$line" $file || sed -i "s|.*global.php.*|&\n$line|" $file 1.15 +}