Add update.sh.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 7 Apr 2011 20:03:05 +0000 (22:03 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 7 Apr 2011 20:03:32 +0000 (22:03 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
upgrade/1.1.1/update.sh [new file with mode: 0755]

diff --git a/upgrade/1.1.1/update.sh b/upgrade/1.1.1/update.sh
new file mode 100755 (executable)
index 0000000..9230e34
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+. ../inc/pervasive.sh
+
+###########################################################
+[ "$DATABASE" != "x4dat" ] || die "Cannot target x4dat"
+
+confirm "* Running database upgrade scripts"
+mysql_run_directory .