Changeset 5129


Ignore:
Timestamp:
Jun 9, 2017, 2:14:45 PM (22 months ago)
Author:
mabarracus
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-analytics-server/trunk/fuentes/debian/postinst

    r5128 r5129  
    5353                RES=$(mysql -u${USER} -p${PASS} -N -s -Danalytics -e "show tables" 2>/dev/null || true)
    5454                if [ -n "${RES}" ]; then
    55                     user="${USER}"
    56                     pass="${PASS}"
     55                    rootuser="-u${USER}"
     56                    rootpass="-p${PASS}"
    5757                    ASK="no"
    5858                    echo "using user & pass from config_db file"
     
    146146    fi
    147147
    148 
    149148# UPDATE DB FROM OLDER VERSIONS
    150149    tables=$(mysql $rootuser $rootpass -s -N -Danalytics -e "show tables" 2>/dev/null || true)
Note: See TracChangeset for help on using the changeset viewer.