From 599d0967837a8f47290dc2b6f839d00fd6c2fdaf Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sun, 24 Nov 2024 21:09:48 +0200 Subject: [PATCH] Add support for openEuler in repo setup script --- setup-repos-nightly.sh | 2 +- setup-repos.sh | 2 +- webmin-setup-repos-nightly.sh | 2 +- webmin-setup-repos.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup-repos-nightly.sh b/setup-repos-nightly.sh index c88232056..40e3ea0ba 100644 --- a/setup-repos-nightly.sh +++ b/setup-repos-nightly.sh @@ -62,7 +62,7 @@ fi # Derivatives precise test osid_debian_like=$(echo "$osid" | grep "debian\|ubuntu") -osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos") +osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos\|openEuler") repoid_debian_like=debian if [ -n "${ID}" ]; then diff --git a/setup-repos.sh b/setup-repos.sh index 52956493f..da8a15ab1 100644 --- a/setup-repos.sh +++ b/setup-repos.sh @@ -61,7 +61,7 @@ fi # Derivatives precise test osid_debian_like=$(echo "$osid" | grep "debian\|ubuntu") -osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos") +osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos\|openEuler") repoid_debian_like=debian if [ -n "${ID}" ]; then diff --git a/webmin-setup-repos-nightly.sh b/webmin-setup-repos-nightly.sh index c88232056..40e3ea0ba 100644 --- a/webmin-setup-repos-nightly.sh +++ b/webmin-setup-repos-nightly.sh @@ -62,7 +62,7 @@ fi # Derivatives precise test osid_debian_like=$(echo "$osid" | grep "debian\|ubuntu") -osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos") +osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos\|openEuler") repoid_debian_like=debian if [ -n "${ID}" ]; then diff --git a/webmin-setup-repos.sh b/webmin-setup-repos.sh index 52956493f..da8a15ab1 100644 --- a/webmin-setup-repos.sh +++ b/webmin-setup-repos.sh @@ -61,7 +61,7 @@ fi # Derivatives precise test osid_debian_like=$(echo "$osid" | grep "debian\|ubuntu") -osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos") +osid_rhel_like=$(echo "$osid" | grep "rhel\|fedora\|centos\|openEuler") repoid_debian_like=debian if [ -n "${ID}" ]; then