update behaviour of create-container

This commit is contained in:
Rudra Saraswat 2023-01-26 15:48:52 +05:30
parent 5c22f497b3
commit 3fde9f6c98

2
blend
View file

@ -417,6 +417,8 @@ def enter_container():
def create_container():
for container in args.pkg:
args.container_name = container
if container in distro_map.keys() and distro_input == None:
arg.distro = container
distrobox_create_container()
subprocess.call(['distrobox-enter', '-nw', '-n', args.container_name, '--', 'echo -n'])