diff options
Diffstat (limited to 'components/bootstrap-debootstrap')
-rwxr-xr-x | components/bootstrap-debootstrap | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/components/bootstrap-debootstrap b/components/bootstrap-debootstrap index 70974be6e..01df273e1 100755 --- a/components/bootstrap-debootstrap +++ b/components/bootstrap-debootstrap @@ -42,24 +42,24 @@ def main(): args = arguments.parse_args() ## Parsing Configuration - if not os.path.isfile('config/build'): - print('E: config/build - no such file', file=sys.stderr) + if not os.path.isfile('config/build.conf'): + print('E: config/build.conf - no such file', file=sys.stderr) sys.exit(1) config = configparser.ConfigParser() - config.read('config/build') + config.read('config/build.conf') try: - architecture = config.get('Image', 'Architecture') - archive_areas = config.get('Image', 'Parent-Archive-Areas') - distribution = config.get('Image', 'Parent-Distribution') - mirror_bootstrap = config.get('Image', 'Parent-Mirror-Bootstrap') + architecture = config.get('build', 'Architecture') + archive_areas = config.get('build', 'Parent-Archive-Areas') + distribution = config.get('build', 'Parent-Distribution') + mirror_bootstrap = config.get('build', 'Parent-Mirror-Bootstrap') except: - archive_areas = config.get('Image', 'Archive-Areas') - distribution = config.get('Image', 'Distribution') - mirror_bootstrap = config.get('Image', 'Mirror-Bootstrap') + archive_areas = config.get('build', 'Archive-Areas') + distribution = config.get('build', 'Distribution') + mirror_bootstrap = config.get('build', 'Mirror-Bootstrap') # --verbose verbose = args.verbose |