From 0ffb1a7af33bddd30d52080c99e5cf4fd5757416 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 19 Feb 2013 14:27:26 +0100 Subject: Fix typo in DB version strings (there should be no .sql suffix) --- bin/updatedb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/updatedb.sh b/bin/updatedb.sh index 4b922ea83..c856e0d63 100755 --- a/bin/updatedb.sh +++ b/bin/updatedb.sh @@ -63,7 +63,7 @@ if (in_array('system', (array)$DB->list_tables())) { $opts['package'] . '-version'); $row = $DB->fetch_array(); - $version = $row[0]; + $version = preg_replace('/[^0-9]/', '', $row[0]); } // DB version not found, but release version is specified -- cgit v1.2.3