wok-6.x diff squirrelmail-multilogin/receipt @ rev 1242
Fix: DEPENDS for claws-mail-plugins.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Aug 11 23:52:29 2008 +0200 (2008-08-11) |
parents | b649ec903494 |
children | bd6010223726 |
line diff
1.1 --- a/squirrelmail-multilogin/receipt Sun Aug 10 08:15:15 2008 +0000 1.2 +++ b/squirrelmail-multilogin/receipt Mon Aug 11 23:52:29 2008 +0200 1.3 @@ -15,12 +15,14 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail 1.8 + mkdir -p $fs/usr/share/squirrelmail/plugins $fs/etc/squirrelmail \ 1.9 + $fs/var/lib/squirrelmail/slitaz.org/data 1.10 cp -a $SOURCE $fs/usr/share/squirrelmail/plugins 1.11 mv $fs/usr/share/squirrelmail/plugins/$SOURCE/config.sample.php \ 1.12 $fs/etc/squirrelmail/config-multilogin.php 1.13 ln -s /etc/squirrelmail/config-multilogin.php \ 1.14 $fs/usr/share/squirrelmail/plugins/$SOURCE/config.php 1.15 + ( cd $fs/etc/squirrelmail ; patch -p0 ) < stuff/config-multilogin.u 1.16 } 1.17 1.18 post_install() 1.19 @@ -29,6 +31,10 @@ 1.20 $1/$INSTALLED/$PACKAGE/volatile.cpio.gz <<EOT 1.21 etc/squirrelmail/config-multilogin.php 1.22 EOT 1.23 + chown www $1/var/lib/squirrelmail/slitaz.org/data 1.24 + ( cd $1/usr/share/squirrelmail/plugins/multilogin 1.25 + patch -p0 < patches/multilogin-squirrelmail-$(. $1/$INSTALLED/squirrelmail/receipt; echo $VERSION).diff ) 1.26 + echo "$PACKAGE" >> $1/$INSTALLED/squirrelmail/modifiers 1.27 echo "\$plugins[] = '$SOURCE';" >> $1/etc/squirrelmail/config_local.php 1.28 } 1.29