wok diff squirrelmail-multilogin/receipt @ rev 1900
emacs: typo fix in receipt
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Sat Dec 20 18:45:42 2008 +0100 (2008-12-20) |
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 Sat Dec 20 18:45:42 2008 +0100 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