Allows multiple entries for some medals (Closes #1380).
[platal.git] / upgrade / 0.9.4 / update.sh
CommitLineData
0337d704 1#!/bin/bash
2
3. ../inc/pervasive.sh
4
5mailman_stop
6mailman_templates
7mailman_start
8
9
10###########################################################
11for sql in *.sql
12do
13 echo -n $sql
14 $MYSQL x4dat < $sql &>/dev/null || echo -n " ERROR"
15 echo .
16done
17
18###########################################################
19
20echo "
21You now have to :
22
23(*) install FPDF (pdflatex and tetex are not required anymore)
24 apt-get install php-fpdf
25
26(*) apt-get install php4-gd2
27 add extension=gd.so in /etc/php/apache(2?)/php.ini
8ac008e9 28
0337d704 29(*) apt-get install php-banana (may not be on public servers)
30 and add a rewrite rule on www.polytechnique.org (http and https) :
31 ^/banana/([^/]*/.*)$ /usr/share/banana/\$1
32
33(*) install the new cron system :
34 delete ALL web crons from the crontab EXCEPT for the /home/web/bin/espace_disque that is not a plat/al feature
35 and then, link /etc/cron.d/platal -> platal/configs/platal.cron
36"