wok diff squirrelmail-quota/receipt @ rev 5828
Up: libxfce4util* (4.6.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 16 08:01:04 2010 +0200 (2010-07-16) |
parents | cb2efee225ba |
children | f81e47267992 |
line diff
1.1 --- a/squirrelmail-quota/receipt Sun Feb 15 20:40:24 2009 +0000 1.2 +++ b/squirrelmail-quota/receipt Fri Jul 16 08:01:04 2010 +0200 1.3 @@ -10,7 +10,7 @@ 1.4 WEB_SITE="http://www.squirrelmail.org/" 1.5 DEPENDS="squirrelmail squirrelmail-compatibility-plugin" 1.6 WGET_URL="${WEB_SITE}plugins/$TARBALL" 1.7 -CONFIG_FILES="/etc/squirrelmail/config-quota.php" 1.8 +CONFIG_FILES="/etc/squirrelmail/config-$SOURCE.php" 1.9 1.10 # Rules to gen a SliTaz package suitable for Tazpkg. 1.11 genpkg_rules() 1.12 @@ -18,10 +18,10 @@ 1.13 mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 1.14 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 1.15 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 1.16 - $fs/etc/squirrelmail/config-quota.php 1.17 + $fs/etc/squirrelmail/config-$SOURCE.php 1.18 sed -i "s/settings\['quota_type'\] = 0/settings['quota_type'] = 1/" \ 1.19 - $fs/etc/squirrelmail/config-quota.php 1.20 - ln -s /etc/squirrelmail/config-quota.php \ 1.21 + $fs/etc/squirrelmail/config-$SOURCE.php 1.22 + ln -s /etc/squirrelmail/config-$SOURCE.php \ 1.23 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 1.24 } 1.25 1.26 @@ -30,7 +30,7 @@ 1.27 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 1.28 } 1.29 1.30 -post_remove() 1.31 +pre_remove() 1.32 { 1.33 sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php 1.34 }