mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Fix update, broken in 7ac0c5abb2
This commit is contained in:
parent
1c5d5c0bce
commit
b2f1cedb40
@ -791,7 +791,7 @@ def make_index(apps, apks, repodir, archive, categories):
|
||||
addElement('added', time.strftime('%Y-%m-%d', apk['added']), doc, apkel)
|
||||
if app['Requires Root']:
|
||||
if 'ACCESS_SUPERUSER' not in apk['permissions']:
|
||||
apk['permissions'].append('ACCESS_SUPERUSER')
|
||||
apk['permissions'].add('ACCESS_SUPERUSER')
|
||||
|
||||
if len(apk['permissions']) > 0:
|
||||
addElement('permissions', ','.join(apk['permissions']), doc, apkel)
|
||||
|
Loading…
Reference in New Issue
Block a user