Commit | Line | Data |
---|---|---|
a2a1c2f2 FB |
1 | #!/bin/bash |
2 | ||
3 | . ../inc/pervasive.sh | |
4 | ||
cc44d7f5 FB |
5 | echo "Upgrading bogofilter settings for ML" |
6 | sudo -u list ./upgrade_lists.py | |
7 | ||
a2a1c2f2 FB |
8 | mailman_stop |
9 | mailman_templates | |
10 | mailman_start | |
11 | ||
2847640f VZ |
12 | ########################################################### |
13 | ||
14 | echo "fixing the xnetevents aliases (this may be a long operation)" | |
15 | ||
16 | ./xnetevents.list.php | |
a2a1c2f2 FB |
17 | |
18 | ########################################################### | |
2847640f VZ |
19 | |
20 | echo "upgrading the database" | |
21 | ||
a2a1c2f2 FB |
22 | for sql in *.sql |
23 | do | |
24 | echo -n $sql | |
25 | $MYSQL x4dat < $sql &>/dev/null || echo -n " ERROR" | |
26 | echo . | |
27 | done | |
28 | ||
29 | ########################################################### | |
30 | ||
31 | echo "we will now upgrade the search table (this may be a long operation) | |
32 | ||
33 | please hit ^D to continue | |
34 | " | |
35 | ||
36 | cat | |
37 | ||
38 | pushd ../../bin | |
39 | ./search.rebuild_db.php | |
40 | popd | |
41 | ||
42 | ########################################################### | |
43 |