mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-05 08:51:06 +03:00
ACCESS_SUPERUSER is now deprecated
This commit is contained in:
parent
dd70c9441c
commit
255afa3894
1 changed files with 0 additions and 4 deletions
|
@ -866,10 +866,6 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
|
|||
addElement('maxsdkver', str(apk['maxsdkversion']), doc, apkel)
|
||||
if 'added' in apk:
|
||||
addElement('added', time.strftime('%Y-%m-%d', apk['added']), doc, apkel)
|
||||
if app['Requires Root']:
|
||||
if 'ACCESS_SUPERUSER' not in apk['permissions']:
|
||||
apk['permissions'].add('ACCESS_SUPERUSER')
|
||||
|
||||
if len(apk['permissions']) > 0:
|
||||
addElement('permissions', ','.join(apk['permissions']), doc, apkel)
|
||||
if 'nativecode' in apk and len(apk['nativecode']) > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue