mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
sync repo examples with defaults and comment out example repo settings
!359
This commit is contained in:
parent
aebf70a763
commit
f527b17715
7 changed files with 33 additions and 27 deletions
|
|
@ -76,9 +76,10 @@ def make(apps, apks, repodir, archive):
|
|||
if archive:
|
||||
repodict['name'] = common.config['archive_name']
|
||||
repodict['icon'] = common.config.get('archive_icon', common.default_config['repo_icon'])
|
||||
repodict['address'] = common.config['archive_url']
|
||||
repodict['description'] = common.config['archive_description']
|
||||
urlbasepath = os.path.basename(urllib.parse.urlparse(common.config['archive_url']).path)
|
||||
archive_url = common.config.get('archive_url', common.config['repo_url'][:-4] + 'archive')
|
||||
repodict['address'] = archive_url
|
||||
urlbasepath = os.path.basename(urllib.parse.urlparse(archive_url).path)
|
||||
else:
|
||||
repodict['name'] = common.config['repo_name']
|
||||
repodict['icon'] = common.config.get('repo_icon', common.default_config['repo_icon'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue