Changeset 5130


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

fix

File:
1 edited

Legend:

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

    r5129 r5130  
    154154        dump_old_data=no
    155155    fi
    156     keys=$(mysqldump $rootuser $rootpass analytics|egrep '^[[:space:]]*KEY'|wc -l)
     156    keys=$(mysqldump $rootuser $rootpass analytics 2>/dev/null|egrep '^[[:space:]]*KEY'|wc -l)
    157157    dumpfile="/usr/lib/analytics-server/analytics-0_1_3-to-0_1_4.sql"
    158158
     
    171171        echo Updating to database version upper than 0.1.4
    172172        if [ "x$dump_old_data" = "xyes" ]; then
    173             mysqldump $rootuser $rootpass --no-create-info analytics > /tmp/__analytics_tmp__
     173            mysqldump $rootuser $rootpass --no-create-info analytics > /tmp/__analytics_tmp__ 2>/dev/null
    174174        fi
    175175        mysql $rootuser $rootpass -s -N -e "drop database if exists analytics"
Note: See TracChangeset for help on using the changeset viewer.