wok-next diff squirrelmail-vkeyboard/receipt @ rev 3543

Add axel tools
author Liu Peng <rocky@slitaz.org>
date Tue Jun 23 11:52:01 2009 +0800 (2009-06-23)
parents cb2efee225ba
children f81e47267992
line diff
     1.1 --- a/squirrelmail-vkeyboard/receipt	Sun Feb 15 20:40:24 2009 +0000
     1.2 +++ b/squirrelmail-vkeyboard/receipt	Tue Jun 23 11:52:01 2009 +0800
     1.3 @@ -10,7 +10,7 @@
     1.4  WEB_SITE="http://www.squirrelmail.org/"
     1.5  DEPENDS="squirrelmail"
     1.6  WGET_URL="${WEB_SITE}plugins/$TARBALL"
     1.7 -CONFIG_FILES="/etc/squirrelmail/config-vkeyboard.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,8 +18,8 @@
    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.php.sample \
    1.16 -		$fs/etc/squirrelmail/config-vkeyboard.php
    1.17 -	ln -s /etc/squirrelmail/config-vkeyboard.php \
    1.18 +		$fs/etc/squirrelmail/config-$SOURCE.php
    1.19 +	ln -s /etc/squirrelmail/config-$SOURCE.php \
    1.20  		$fs/usr/share/squirrelmail/plugins/$SOURCE/config.php
    1.21  }
    1.22  
    1.23 @@ -28,7 +28,7 @@
    1.24  	echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php
    1.25  }
    1.26  
    1.27 -post_remove()
    1.28 +pre_remove()
    1.29  {
    1.30  	sed -i "/\$plugins.. = '$SOURCE';/d" /etc/squirrelmail/config_local.php
    1.31  }