diff --git a/distrobox-generate-entry b/distrobox-generate-entry index 9286fad2bd..3d2a55ddbb 100755 --- a/distrobox-generate-entry +++ b/distrobox-generate-entry @@ -19,6 +19,8 @@ # along with distrobox; if not, see . # POSIX +# Optional env variables: +# DBX_CONTAINER_MANAGER # Despite of running this script via SUDO/DOAS being not supported (the # script itself will call the appropriate tool when necessary), we still want @@ -77,6 +79,8 @@ done [ "${verbose}" = "true" ] && verbose=1 [ "${verbose}" = "false" ] && verbose=0 +[ -n "${DBX_CONTAINER_MANAGER}" ] && container_manager="${DBX_CONTAINER_MANAGER}" + # Print usage to stdout. # Arguments: # None