diff --git a/lib/privileges.sh b/lib/privileges.sh index 120cb28..085680f 100755 --- a/lib/privileges.sh +++ b/lib/privileges.sh @@ -198,7 +198,7 @@ install_docker() { # Add Docker repository with proper Ubuntu codename detection for Linux Mint local ubuntu_codename - if [[ "$(lsb_release -is)" == "LinuxMint" ]]; then + if [[ "$(lsb_release -is)" == "Linuxmint" ]]; then # Linux Mint provides UBUNTU_CODENAME in /etc/os-release if [[ -f /etc/os-release ]]; then ubuntu_codename=$(grep '^UBUNTU_CODENAME=' /etc/os-release | cut -d= -f2) diff --git a/lib/system.sh b/lib/system.sh index 3c2345b..dc61d64 100644 --- a/lib/system.sh +++ b/lib/system.sh @@ -1148,7 +1148,7 @@ install_docker() { local ubuntu_codename echo "DEBUG: Configuring Docker repository" echo "DEBUG: Detected OS: $(lsb_release -is)" - if [[ "$(lsb_release -is)" == "LinuxMint" ]]; then + if [[ "$(lsb_release -is)" == "Linuxmint" ]]; then echo "DEBUG: Linux Mint detected, checking for UBUNTU_CODENAME" # Linux Mint provides UBUNTU_CODENAME in /etc/os-release if [[ -f /etc/os-release ]]; then diff --git a/privileged-setup b/privileged-setup index 58eefa6..a3047e5 100755 --- a/privileged-setup +++ b/privileged-setup @@ -42,7 +42,7 @@ install_docker() { # Add Docker repository with proper Ubuntu codename detection for Linux Mint local ubuntu_codename - if [[ "$(lsb_release -is)" == "LinuxMint" ]]; then + if [[ "$(lsb_release -is)" == "Linuxmint" ]]; then # Linux Mint provides UBUNTU_CODENAME in /etc/os-release if [[ -f /etc/os-release ]]; then ubuntu_codename=$(grep '^UBUNTU_CODENAME=' /etc/os-release | cut -d= -f2)