diff --git a/system_files/dx/usr/bin/bluefinbox-enter b/system_files/dx/usr/bin/bluefinbox-enter deleted file mode 100755 index 2645cff40a0..00000000000 --- a/system_files/dx/usr/bin/bluefinbox-enter +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -# Little helper script to launch other than default (ubuntu) distroboxes without manually -# having to assemble them. - -container_name=$1 -if [ "${container_name}" == "" ]; then - echo "Please specify the container name you want to enter." - echo "For example: ${0} fedora" - exit 1 -fi - -# Inspect if the container is already present -inspect_cmd="podman inspect --type container "${container_name}" --format {{.State.Status}} > /dev/null" -eval "${inspect_cmd}" -container_exists=$? - -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. - distrobox assemble create --name "${container_name}" --replace --file /etc/distrobox/distrobox.ini - - # All done, good to go - exec distrobox enter "${container_name}" -fi