mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Fix update, broken in 7ac0c5abb2
This commit is contained in:
parent
1c5d5c0bce
commit
b2f1cedb40
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue