From 32ced1693d56d1c4dcd7379e36547447aca18d93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 18 Feb 2013 23:11:33 +0100 Subject: [PATCH] Add upgrade scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- upgrade/1.1.7/connect.db.inc.php | 1 + upgrade/1.1.7/update.sh | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 120000 upgrade/1.1.7/connect.db.inc.php create mode 100755 upgrade/1.1.7/update.sh 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 . -- 2.1.4