From e1bf67b32c63dc7eb5e56f7b91449307598a2529 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 3 Nov 2025 00:31:52 +0100 Subject: [PATCH] fix: typo ins installer stops script from working (#10744) --- contrib/install.sh | 2 +- contrib/installer/src/root_command.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/install.sh b/contrib/install.sh index 7a0269d689..58e1a26c6a 100755 --- a/contrib/install.sh +++ b/contrib/install.sh @@ -64,7 +64,7 @@ root_command() { Ubuntu) if [[ $VER == "24.04" ]]; then SUPPORTED=true - if [[ $VER == "22.04" ]]; then + elif [[ $VER == "22.04" ]]; then SUPPORTED=true elif [[ $VER == "20.04" ]]; then SUPPORTED=true diff --git a/contrib/installer/src/root_command.sh b/contrib/installer/src/root_command.sh index f7821a761b..cfcc5dd31e 100644 --- a/contrib/installer/src/root_command.sh +++ b/contrib/installer/src/root_command.sh @@ -54,7 +54,7 @@ case "$OS" in Ubuntu) if [[ $VER == "24.04" ]]; then SUPPORTED=true - if [[ $VER == "22.04" ]]; then + elif [[ $VER == "22.04" ]]; then SUPPORTED=true elif [[ $VER == "20.04" ]]; then SUPPORTED=true