mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
improved warning when trying to init a dir with stuff in it
This commit is contained in:
parent
802d5e298c
commit
d21bddc159
@ -112,7 +112,8 @@ def main():
|
||||
shutil.copyfile(os.path.join(examplesdir, '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...')
|
||||
logging.warn('Looks like this is already an F-Droid repo, cowardly refusing to overwrite it...')
|
||||
logging.info('Try running `fdroid init` in an empty directory.')
|
||||
sys.exit()
|
||||
|
||||
# now that we have a local config.py, read configuration...
|
||||
|
Loading…
Reference in New Issue
Block a user