From aac526232ce615f3a25f8289d346f5c625f7760d Mon Sep 17 00:00:00 2001 From: bobslept <38557801+bobslept@users.noreply.github.com> Date: Thu, 30 Nov 2023 18:10:05 +0100 Subject: [PATCH] fix(dx): improve distrobox-enter wrapper (#692) --- dx/usr/bin/bluefinbox-enter | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dx/usr/bin/bluefinbox-enter b/dx/usr/bin/bluefinbox-enter index 688e1dc9e38..2645cff40a0 100755 --- a/dx/usr/bin/bluefinbox-enter +++ b/dx/usr/bin/bluefinbox-enter @@ -19,11 +19,8 @@ if [ "$container_exists" -eq 0 ]; then # No need to assemble, enjoy your stay exec distrobox enter "${container_name}" else - # We don't have the container so we assemble it first. With distrobox version 1.5.0.2 - # or below we need to assemble all the entries that occur in the `distrobox.ini` manifest. - # In future versions of distrobox we will be able to specify `--name $container_name` to - # only assemble the box we want to enter. - distrobox assemble create --replace --file /etc/distrobox/distrobox.ini + # We don't have the container so we assemble it first. + distrobox assemble create --name "${container_name}" --replace --file /etc/distrobox/distrobox.ini # All done, good to go exec distrobox enter "${container_name}"