mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
Write .fdroidvcs when retaining imported vcs repo
This commit is contained in:
parent
6b5d9abf0d
commit
eefb9eb075
1 changed files with 2 additions and 0 deletions
|
|
@ -274,6 +274,8 @@ def main():
|
|||
if not os.path.exists('build'):
|
||||
os.mkdir('build')
|
||||
shutil.move(src_dir, os.path.join('build', package))
|
||||
with open('build/.fdroidvcs-' + package, 'w') as f:
|
||||
f.write(repotype + ' ' + repo)
|
||||
|
||||
metafile = os.path.join('metadata', package + '.txt')
|
||||
common.write_metadata(metafile, app)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue