wok-current diff squirrelmail-quota/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 | bd6010223726 |
children | ff4c00ab546f |
line diff
1.1 --- a/squirrelmail-quota/receipt Tue Dec 23 10:31:12 2008 +0000 1.2 +++ b/squirrelmail-quota/receipt Sun Feb 15 20:40:24 2009 +0000 1.3 @@ -29,3 +29,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 +}