diff --git a/files/1000-fix-build-sh-recognize-almalinux.patch b/files/1000-fix-build-sh-recognize-almalinux.patch index 5755e5a..15c7ee2 100644 --- a/files/1000-fix-build-sh-recognize-almalinux.patch +++ b/files/1000-fix-build-sh-recognize-almalinux.patch @@ -14,19 +14,18 @@ receive an empty APP_SERVER and fail with: 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh -index 62876a45c9..0000000000 100755 --- a/build.sh +++ b/build.sh -@@ -190,6 +190,10 @@ get_tomcat_app_server() { - "centos") - distro="rhel" - ver=$VERSION_ID -+ ;; -+ "almalinux") -+ distro="rhel" -+ ver=$VERSION_ID - ;; - *) - echo $def_app_server +@@ -192,6 +192,10 @@ + distro="rhel" + ver=$VERSION_ID + ;; ++ "almalinux") ++ distro="rhel" ++ ver=$VERSION_ID ++ ;; + *) + echo $def_app_server + return -- 2.43.0