Small config fixes

This commit is contained in:
Daniel Martí 2014-02-17 20:01:55 +01:00
parent f6f23030e2
commit f6ffbb5997
3 changed files with 3 additions and 7 deletions

View file

@ -104,7 +104,7 @@ def main():
# 'metadata' and 'tmp' are created in fdroid
os.mkdir('repo')
shutil.copy(os.path.join(examplesdir, 'fdroid-icon.png'), fdroiddir)
shutil.copyfile(os.path.join(examplesdir, 'config.sample.py'), 'config.py')
shutil.copyfile(os.path.join(examplesdir, 'sampleconfigs', 'config.py'), 'config.py')
os.chmod('config.py', 0o0600)
else:
logging.info('Looks like this is already an F-Droid repo, cowardly refusing to overwrite it...')