mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
nightly: include existing APKs in index
This commit is contained in:
parent
9a6148c5b4
commit
b03fe31ae4
1 changed files with 3 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
import base64
|
||||
import datetime
|
||||
import glob
|
||||
import hashlib
|
||||
import inspect
|
||||
import logging
|
||||
|
|
@ -406,6 +407,8 @@ def main():
|
|||
git_mirror_metadatadir = os.path.join(git_mirror_fdroiddir, 'metadata')
|
||||
if not os.path.isdir(git_mirror_repodir):
|
||||
clone_git_repo(clone_url, git_mirror_path)
|
||||
for f in glob.glob(f'{git_mirror_repodir}/*.apk'):
|
||||
shutil.copy2(f, repodir)
|
||||
if not os.path.isdir(git_mirror_repodir):
|
||||
os.makedirs(git_mirror_repodir, mode=0o755)
|
||||
if os.path.exists('LICENSE'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue