1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

add almalinux support for installation

This commit is contained in:
catborise 2022-06-27 10:49:42 +03:00
parent 2c07df4c8f
commit f60bb055a8

View file

@ -111,7 +111,7 @@ __parse_version_string() {
# enough. # enough.
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
__sort_release_files() { __sort_release_files() {
KNOWN_RELEASE_FILES=$(echo "(arch|centos|debian|ubuntu|fedora|redhat|suse|\ KNOWN_RELEASE_FILES=$(echo "(arch|centos|almalinux|rocky|debian|ubuntu|fedora|redhat|suse|\
mandrake|mandriva|gentoo|slackware|turbolinux|unitedlinux|lsb|system|\ mandrake|mandriva|gentoo|slackware|turbolinux|unitedlinux|lsb|system|\
os)(-|_)(release|version)" | sed -r 's:[[:space:]]::g') os)(-|_)(release|version)" | sed -r 's:[[:space:]]::g')
primary_release_files="" primary_release_files=""
@ -208,6 +208,7 @@ __gather_linux_system_info() {
;; ;;
arch ) n="Arch Linux" ;; arch ) n="Arch Linux" ;;
centos ) n="CentOS" ;; centos ) n="CentOS" ;;
almalinux ) n="AlmaLinux" ;;
debian ) n="Debian" ;; debian ) n="Debian" ;;
ubuntu ) n="Ubuntu" ;; ubuntu ) n="Ubuntu" ;;
fedora ) n="Fedora" ;; fedora ) n="Fedora" ;;