Changeset 4448 for lliurex-detect


Ignore:
Timestamp:
Apr 26, 2017, 12:23:51 PM (2 years ago)
Author:
mabarracus
Message:

Allow mirrors without 'lists' directory

Location:
lliurex-detect/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-detect/trunk/fuentes/debian/changelog

    r4360 r4448  
     1lliurex-detect (1.4.2) xenial; urgency=medium
     2
     3  * Allow mirrors without 'lists' directory
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Wed, 26 Apr 2017 12:23:14 +0200
     6
    17lliurex-detect (1.4.1) xenial; urgency=medium
    28
  • lliurex-detect/trunk/fuentes/lliurex-detect.install/usr/bin/lliurex-detect

    r4360 r4448  
    212212    #string = check items
    213213
     214    #need_structure={'pool':[{'main':{'l/lliurex-version-timestamp':('regexp','lliurex-version-timestamp_.*\.deb$')}},'universe','multiverse','preschool','restricted'],
     215    #                'dists':['xenial','xenial-security','xenial-updates'],
     216    #                'lists':[('regexp','.*xenial.*_amd64_Packages$'),('regexp','.*xenial.*_i386_Packages$')]}
     217
    214218    need_structure={'pool':[{'main':{'l/lliurex-version-timestamp':('regexp','lliurex-version-timestamp_.*\.deb$')}},'universe','multiverse','preschool','restricted'],
    215                     'dists':['xenial','xenial-security','xenial-updates'],
    216                     'lists':[('regexp','.*xenial.*_amd64_Packages$'),('regexp','.*xenial.*_i386_Packages$')]}
     219                    'dists':['xenial','xenial-security','xenial-updates']}
    217220
    218221    return os.path.isdir(mirror_location) and check_structure(mirror_location,need_structure)
Note: See TracChangeset for help on using the changeset viewer.