From: Raphaël Barrois Date: Mon, 18 Feb 2013 22:11:33 +0000 (+0100) Subject: Add upgrade scripts X-Git-Tag: xorg/1.1.8~12^2~1 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=32ced1693d56d1c4dcd7379e36547447aca18d93;p=platal.git Add upgrade scripts Signed-off-by: Raphaël Barrois --- diff --git a/upgrade/1.1.7/connect.db.inc.php b/upgrade/1.1.7/connect.db.inc.php new file mode 120000 index 0000000..442fab7 --- /dev/null +++ b/upgrade/1.1.7/connect.db.inc.php @@ -0,0 +1 @@ +../../bin/connect.db.inc.php \ No newline at end of file diff --git a/upgrade/1.1.7/update.sh b/upgrade/1.1.7/update.sh new file mode 100755 index 0000000..9230e34 --- /dev/null +++ b/upgrade/1.1.7/update.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +. ../inc/pervasive.sh + +########################################################### +[ "$DATABASE" != "x4dat" ] || die "Cannot target x4dat" + +confirm "* Running database upgrade scripts" +mysql_run_directory .