Skip to content

Commit d2e37c2

Browse files
committed
chore: notification for not supported in Ubuntu 24.04
1 parent 7dc9315 commit d2e37c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/linux/installer.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,16 @@ downloadLatestReleaseInfo() {
459459
# version and decide whether an upgrade is necessary.
460460
#
461461
downloadAndInstall(){
462+
# Check Ubuntu version for compatibility
463+
if [ -f /etc/os-release ]; then
464+
. /etc/os-release
465+
if [[ "$ID" = "ubuntu" && "$VERSION_ID" = "24.04" ]]; then
466+
echo -e "${RED}Ubuntu 24.04 LTS is not currently supported by this installation script.${RESET}"
467+
echo -e "${YELLOW}Please use an earlier version of Ubuntu for the time being. Check back later for updates.${RESET}"
468+
exit 1
469+
fi
470+
fi
471+
462472
echo "Using temporary directory $TMP_DIR for processing"
463473
downloadLatestReleaseInfo > /dev/null
464474
CURRENT_GLIBC_VERSION=$(ldd --version | grep "ldd" | awk '{print $NF}')

0 commit comments

Comments
 (0)