wok diff squirrelmail-html/receipt @ rev 2245

squirrelmail plugins: add post_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 15 20:40:24 2009 +0000 (2009-02-15)
parents d431cc086b87
children ff4c00ab546f
line diff
     1.1 --- a/squirrelmail-html/receipt	Sun Aug 10 09:59:54 2008 +0000
     1.2 +++ b/squirrelmail-html/receipt	Sun Feb 15 20:40:24 2009 +0000
     1.3 @@ -22,3 +22,8 @@
     1.4  {
     1.5  	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
     1.6  }
     1.7 +
     1.8 +post_remove()
     1.9 +{
    1.10 +	sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
    1.11 +}