| 1 | #!/bin/bash |
| 2 | |
| 3 | . ../inc/pervasive.sh |
| 4 | |
| 5 | mailman_stop |
| 6 | mailman_templates |
| 7 | mailman_start |
| 8 | |
| 9 | |
| 10 | ########################################################### |
| 11 | for sql in *.sql |
| 12 | do |
| 13 | echo -n $sql |
| 14 | $MYSQL x4dat < $sql &>/dev/null || echo -n " ERROR" |
| 15 | echo . |
| 16 | done |
| 17 | |
| 18 | ########################################################### |
| 19 | |
| 20 | echo " |
| 21 | You 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 |
| 28 | |
| 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 | " |