wok-6.x rev 1201
squirrelmail: enable default plugins
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 08 16:12:50 2008 +0000 (2008-08-08) |
parents | 4c6676f4a574 |
children | f4d013306594 |
files | squirrelmail/receipt |
line diff
1.1 --- a/squirrelmail/receipt Fri Aug 08 10:58:28 2008 +0000 1.2 +++ b/squirrelmail/receipt Fri Aug 08 16:12:50 2008 +0000 1.3 @@ -18,6 +18,12 @@ 1.4 mv $fs/usr/share/squirrelmail/config $fs/etc/squirrelmail 1.5 ln -s /etc/squirrelmail $fs/usr/share/squirrelmail/config 1.6 mv $fs/etc/squirrelmail/config_default.* $fs/etc/squirrelmail/config.php 1.7 + for i in demo test fortune; do 1.8 + rm -rf $fs/usr/share/squirrelmail/plugins/$i 1.9 + done 1.10 + for i in $( cd $fs/usr/share/squirrelmail/plugins/ ; ls -d */ ); do 1.11 + echo "\$plugins[] = '${i%/}';" 1.12 + done >> $fs/etc/squirrelmail/config_local.php 1.13 sed -i -e "s|\$domain = 'example.com'|\$domain = 'localhost'|" \ 1.14 -e 's|/var/local|/var/lib|g' $fs/etc/squirrelmail/config.php 1.15 chown -R www.www $fs/usr/share/squirrelmail $fs/etc/squirrelmail \