Skip to content

Commit

Permalink
chore: notification for not supported in Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypa committed May 8, 2024
1 parent 7dc9315 commit d2e37c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/linux/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,16 @@ downloadLatestReleaseInfo() {
# version and decide whether an upgrade is necessary.
#
downloadAndInstall(){
# Check Ubuntu version for compatibility
if [ -f /etc/os-release ]; then
. /etc/os-release
if [[ "$ID" = "ubuntu" && "$VERSION_ID" = "24.04" ]]; then
echo -e "${RED}Ubuntu 24.04 LTS is not currently supported by this installation script.${RESET}"
echo -e "${YELLOW}Please use an earlier version of Ubuntu for the time being. Check back later for updates.${RESET}"
exit 1
fi
fi

echo "Using temporary directory $TMP_DIR for processing"
downloadLatestReleaseInfo > /dev/null
CURRENT_GLIBC_VERSION=$(ldd --version | grep "ldd" | awk '{print $NF}')
Expand Down

0 comments on commit d2e37c2

Please sign in to comment.