1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

Write .fdroidvcs when retaining imported vcs repo

This commit is contained in:
Ciaran Gultnieks 2013-06-24 10:40:27 +01:00
parent 6b5d9abf0d
commit eefb9eb075

View File

@ -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)