1
0
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:
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'): 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)