wok-6.x diff squirrelmail-msg_flags/receipt @ rev 4228

Up: exiv2 (0.18.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 14:45:15 2009 +0200 (2009-09-24)
parents faf3fcbe782b
children f81e47267992
line diff
     1.1 --- a/squirrelmail-msg_flags/receipt	Sun Feb 15 22:52:03 2009 +0000
     1.2 +++ b/squirrelmail-msg_flags/receipt	Thu Sep 24 14:45:15 2009 +0200
     1.3 @@ -26,10 +26,10 @@
     1.4  	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
     1.5  }
     1.6  
     1.7 -post_remove()
     1.8 +pre_remove()
     1.9  {
    1.10  	( cd /usr/share/squirrelmail/plugins/$SOURCE
    1.11  	  patch -R -p0 < patches/$SOURCE-squirrelmail-$(. $INSTALLED/squirrelmail/receipt; echo $VERSION).diff )
    1.12 -	sed -i "/$PACKAGE/d" $INSTALLED/squirrelmail/modifiers
    1.13 +	sed -i "/^$PACKAGE\$/d" $INSTALLED/squirrelmail/modifiers
    1.14  	sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
    1.15  }