Ignore:
Timestamp:
Feb 28, 2018, 6:31:56 PM (19 months ago)
Author:
mabarracus
Message:

Fix flavour detection on llx16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-statistics/trunk/fuentes/lliurex-statistics.install/usr/sbin/analytics

    r6939 r6941  
    203203    global log
    204204
    205     output = bin_to_ascii(subprocess.check_output(['bash','lliurex-version','-n']))
     205    output = bin_to_ascii(subprocess.check_output(['lliurex-version','-n']))
    206206    release = output[0:2].strip()
    207207    if release == '15':
     
    209209        output = bin_to_ascii(subprocess.check_output(use))
    210210    else:
    211         use = ['bash','lliurex-version','-f']
     211        use = ['lliurex-version','-f']
    212212        output = bin_to_ascii(subprocess.check_output(use))
    213213    flavour = output.strip()
Note: See TracChangeset for help on using the changeset viewer.