From 0ffb1a7af33bddd30d52080c99e5cf4fd5757416 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 19 Feb 2013 08:29:42 -0500
Subject: [PATCH] Fix typo in DB version strings (there should be no .sql suffix)

---
 bin/updatedb.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/updatedb.sh b/bin/updatedb.sh
index 4b922ea..c856e0d 100755
--- a/bin/updatedb.sh
+++ b/bin/updatedb.sh
@@ -63,7 +63,7 @@
         $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

--
Gitblit v1.9.1