Adds upgrade script.
authorStéphane Jacob <sj@m4x.org>
Thu, 10 Nov 2011 14:41:20 +0000 (15:41 +0100)
committerStéphane Jacob <sj@m4x.org>
Thu, 10 Nov 2011 14:41:20 +0000 (15:41 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
upgrade/1.1.4/update.sh [new file with mode: 0755]

diff --git a/upgrade/1.1.4/update.sh b/upgrade/1.1.4/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 .