Skip to content

Commit

Permalink
installer: support Debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-utkin committed Jun 10, 2024
1 parent b6c7e73 commit 4184495
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion installer/v3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ bullseye_install()
apt-get -y install mariadb-server bluecherry
}

# Debian 12
bookworm_install()
{
bullseye_install
}

check_distro()
{
if [[ -e /etc/lsb-release ]]
Expand Down Expand Up @@ -174,7 +180,8 @@ elif [[ "$ID" == "ubuntu" && "$VERSION_ID" == "22.04" && "$VERSION_CODENAME" ==
elif [[ "$ID" == "ubuntu" && "$VERSION_ID" == "24.04" && "$VERSION_CODENAME" == "noble" ]]; then noble_install;
elif [[ "$ID" == "debian" && "$VERSION_ID" == "10" && "$VERSION_CODENAME" == "buster" ]]; then buster_install;
elif [[ "$ID" == "debian" && "$VERSION_ID" == "11" && "$VERSION_CODENAME" == "bullseye" ]]; then bullseye_install;
elif [[ "$ID" == "debian" && "$VERSION_ID" == "12" && "$VERSION_CODENAME" == "bookworm" ]]; then bookworm_install;
elif [[ "$ID" == "mint" && "$VERSION_ID" == "21.1" && "$VERSION_CODENAME" == "vera" ]]; then jammy_install; # Mint 21.1 Vera, based on Ubuntu 22.04 Jammy
else
echo "Currently we only support Ubuntu 18.04 (Bionic), Ubuntu 20.04 (Focal), Ubuntu 22.04 (Jammy), Ubuntu 24.04 (Noble) and Debian 10 (Buster), Linux Mint 21.1 (Vera) for unstable testing"
echo "Currently we only support Ubuntu 18.04 (Bionic), Ubuntu 20.04 (Focal), Ubuntu 22.04 (Jammy), Ubuntu 24.04 (Noble) and Debian 10 (Buster), 11 (Bullseye), 12 (Bookworm), Linux Mint 21.1 (Vera) for unstable testing"
fi

0 comments on commit 4184495

Please sign in to comment.