Ignore:
Timestamp:
Feb 28, 2018, 10:32:41 AM (3 years ago)
Author:
mabarracus
Message:

Fix bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-statistics/trunk/fuentes/debian/lliurex-statistics.postinst

    r6816 r6929  
    77
    88. /usr/share/debconf/confmodule
     9db_get lliurex-statistics/acknowledge
     10ACK="$RET"
     11db_stop
    912
    1013# summary of how this script can be called:
     
    5861            # AVOID TO RESTART !! Could block ltsp's chroot builder
    5962            #service auditd restart
     63           
     64            #DEBCONF
     65            ACKNOWLEDGE="$(echo $ACK|egrep -E -i -o 'true|false')"
     66            if [ "$ACKNOWLEDGE" = "true" ]; then
     67                echo yes > /etc/lliurex-analytics/status
     68            fi
     69            if [ "$ACKNOWLEDGE" = "false" ]; then
     70                echo no > /etc/lliurex-analytics/status
     71            fi
    6072    ;;
    6173   
Note: See TracChangeset for help on using the changeset viewer.