mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Write .fdroidvcs when retaining imported vcs repo
This commit is contained in:
parent
6b5d9abf0d
commit
eefb9eb075
@ -274,6 +274,8 @@ def main():
|
|||||||
if not os.path.exists('build'):
|
if not os.path.exists('build'):
|
||||||
os.mkdir('build')
|
os.mkdir('build')
|
||||||
shutil.move(src_dir, os.path.join('build', package))
|
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')
|
metafile = os.path.join('metadata', package + '.txt')
|
||||||
common.write_metadata(metafile, app)
|
common.write_metadata(metafile, app)
|
||||||
|
Loading…
Reference in New Issue
Block a user