From 9fa59dc40568a06da265735b556100e19ffcc9ae Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Wed, 15 Dec 2021 23:14:20 +0100 Subject: [PATCH] init: fix id/gid error in group creation --- README.md | 2 +- distrobox-init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4b24ad7e7e..6a5ed5af58 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ Distrobox has been successfully tested on: | Fedora | 34, 35 | | | Fedora Silverblue | 34, 35 | | | OpenSUSE | Leap 15, Tumbleweed | | -| Ubuntu | 20.04, 21.10 | Older versions based on 20.04 needs external repos to install newer Podman releases.
Derivatives like Pop_OS!, Mint and Elementary OS should work the same. | +| Ubuntu | 20.04, 21.10 | Older versions based on 20.04 needs external repos to install newer Podman and Docker releases.
Derivatives like Pop_OS!, Mint and Elementary OS should work the same. | | EndlessOS | 4.0.0 | | | OpenSUSE MicroOS | 20211209 | | diff --git a/distrobox-init b/distrobox-init index bdc827c21d..bf76f406aa 100755 --- a/distrobox-init +++ b/distrobox-init @@ -288,7 +288,7 @@ fi # If not existing, ensure we have a group for our user. if ! grep -q "${container_user_name}" /etc/group; then - groupadd --force --gid "${container_user_uid}" "${container_user_name}" + groupadd --force --gid "${container_user_gid}" "${container_user_name}" fi # Let's add our user to the container if the user already exists, just go ahead. if ! id "${container_user_name}"; then