Changeset 552


Ignore:
Timestamp:
Feb 10, 2016, 4:05:50 PM (3 years ago)
Author:
mabarracus
Message:

Fix to allow more than one match when select latest dsc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adobe-flashplugin/trunk/fuentes/update_flash.sh

    r11 r552  
    2929f=open(tmp_file)
    3030
     31item_dsc=[]
    3132for line in f:
    3233        if BASE_NAME in line and DISTRO in line and \".dsc\" in line:
    3334                DSC_FILE=line.strip('\n').split('<a href=\"')[1].split('\">')[0]
    34                 print URL+DSC_FILE
     35                item_dsc.append(URL+DSC_FILE)
    3536f.close()
    3637
     38if len(item_dsc) > 1:
     39    print item_dsc[-1]
    3740")
    3841       
     
    4649       
    4750fi
    48 
    4951
    5052
Note: See TracChangeset for help on using the changeset viewer.