Changeset 2919 for lliurex-sgdb


Ignore:
Timestamp:
Nov 22, 2016, 1:55:33 PM (3 years ago)
Author:
mabarracus
Message:

Fix bug detecting versions

Location:
lliurex-sgdb/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-sgdb/trunk/fuentes/debian/changelog

    r1702 r2919  
     1lliurex-sgbd (0.72) xenial; urgency=medium
     2
     3  * Fix bug comparing versions
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Tue, 22 Nov 2016 13:54:18 +0100
     6
    17lliurex-sgbd (0.71-lliurex4) xenial; urgency=medium
    28
  • lliurex-sgdb/trunk/fuentes/install/usr/sbin/mysql_root_passwd

    r1301 r2919  
    1616mysql_version_upper(){
    1717    local ret=1;
    18     ver=$(mysqld --version 2>&1|egrep -o '[0-9]+\.[0-9]+\.[0-9]+')
     18    ver=$(mysqld --version 2>&1|perl -nE '/(\d+\.\d+\.\d+)/ && print $1')
    1919    is_maria=$(mysqld --version 2>&1|grep -io 'mariadb'|wc -l)
    2020    if [ $is_maria -gt 0 ]; then
Note: See TracChangeset for help on using the changeset viewer.