diff --git a/dist/distrobuilder_menu-0.1.4.tar.gz b/dist/distrobuilder_menu-0.1.4.tar.gz deleted file mode 100644 index 681c5fe..0000000 Binary files a/dist/distrobuilder_menu-0.1.4.tar.gz and /dev/null differ diff --git a/dist/distrobuilder_menu-0.1.4-py3-none-any.whl b/dist/distrobuilder_menu-0.1.5-py3-none-any.whl similarity index 89% rename from dist/distrobuilder_menu-0.1.4-py3-none-any.whl rename to dist/distrobuilder_menu-0.1.5-py3-none-any.whl index c9be20f..3c53921 100644 Binary files a/dist/distrobuilder_menu-0.1.4-py3-none-any.whl and b/dist/distrobuilder_menu-0.1.5-py3-none-any.whl differ diff --git a/dist/distrobuilder_menu-0.1.5.tar.gz b/dist/distrobuilder_menu-0.1.5.tar.gz new file mode 100644 index 0000000..9fe622b Binary files /dev/null and b/dist/distrobuilder_menu-0.1.5.tar.gz differ diff --git a/pyproject.toml b/pyproject.toml index 8817afe..d7d7673 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "hatchling.build" [project] name = "distrobuilder_menu" -version = "0.1.4" +version = "0.1.5" authors = [ { name="Stuart Cardall", email="developer@it-offshore.co.uk" }, ] diff --git a/src/distrobuilder_menu/menus/common.py b/src/distrobuilder_menu/menus/common.py index 0337783..dbf6574 100644 --- a/src/distrobuilder_menu/menus/common.py +++ b/src/distrobuilder_menu/menus/common.py @@ -460,10 +460,12 @@ def create_custom_override(): return template_files = utils.find_files('*.yaml', template_dir) + template_type = helpers.get_template_type(template_dir) # menu_templates() returns a tuple: os_name, template_path src_template = shared.menu_templates(template_files, template_dir, 'Create Override from', - custom_question='Choose SOURCE template to override')[1] + custom_question=f"Choose SOURCE {template_type} template to override" + )[1] # return to main event loop if src_template == 'user_quit': return diff --git a/src/distrobuilder_menu/menus/shared.py b/src/distrobuilder_menu/menus/shared.py index 1233b6a..a64de62 100644 --- a/src/distrobuilder_menu/menus/shared.py +++ b/src/distrobuilder_menu/menus/shared.py @@ -98,7 +98,7 @@ def menu_templates(template_dict, template_dir, action, custom_question=None): # container_type only relevant when building templates if template_dir in (USER_CONFIG.subdir_custom, USER_CONFIG.subdir_images): - # ARGS.lxd is always true so check lxc + # ARGS.lxd is usually true so check lxc if ARGS.lxc: container_type = 'LXC' else: