Flatpak seed: accept org.mozilla refs
This commit is contained in:
parent
6e88fc914e
commit
babb0ce1b2
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ assert policy['version']==1 and policy['remote']=='flathub'
|
|||
for ref in policy['applications']:
|
||||
parts=ref.split('/')
|
||||
assert len(parts)==4 and parts[0]=='app' and parts[2:] == ['x86_64','stable']
|
||||
assert parts[1].startswith(('org.gnome.', 'org.kde.')) and all(c.isalnum() or c in '._-' for c in parts[1])
|
||||
assert parts[1].startswith(('org.gnome.', 'org.kde.', 'org.mozilla.')) and all(c.isalnum() or c in '._-' for c in parts[1])
|
||||
print(ref)
|
||||
PY
|
||||
mapfile -t apps < /seed/apps.txt
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue