summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/updatedb.sh2
1 files changed, 1 insertions, 1 deletions
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