From 9e46fb535ddce461a11f57d4ce75a43c3ad651e8 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/updatedb.sh') 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