From 5c2634367e6db1d15acc8e25dbfcaa2ea6fa1ea2 Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Sat, 18 Nov 2006 07:50:12 +0000 Subject: [PATCH] Add updater git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1100 839d8a87-29fc-0310-9880-83ba4fa771e5 --- upgrade/0.9.12/update.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 upgrade/0.9.12/update.sh diff --git a/upgrade/0.9.12/update.sh b/upgrade/0.9.12/update.sh new file mode 100755 index 0000000..de82fc0 --- /dev/null +++ b/upgrade/0.9.12/update.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +. ../inc/pervasive.sh + +mailman_stop +mailman_templates +mailman_start + + +########################################################### +for sql in *.sql +do + echo -n $sql + $MYSQL x4dat < $sql &>/dev/null || echo -n " ERROR" + echo . +done + +########################################################### + +echo "we will now upgrade the search table (this may be a long operation) + +please hit ^D to continue +" + +cat + +pushd ../../bin +./search.rebuild_db.php +popd + +########################################################### + -- 2.1.4