mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
Small config fixes
This commit is contained in:
parent
f6f23030e2
commit
f6ffbb5997
3 changed files with 3 additions and 7 deletions
|
|
@ -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...')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue