mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-05 08:59:36 +00:00
Fix check for (open)SUSE version (#6791)
Fix the check, if we're running SUSE or openSUSE in the installer script. Signed-off-by: phoenix <felix.niederwanger@suse.com>
This commit is contained in:
committed by
GitHub
parent
ee007bc7cf
commit
7e59376bb9
@@ -466,7 +466,7 @@ setup_selinux() {
|
||||
fi
|
||||
|
||||
[ -r /etc/os-release ] && . /etc/os-release
|
||||
if [ "${ID_LIKE%%[ ]*}" = "suse" ]; then
|
||||
if [ `expr "${ID_LIKE}" : ".*suse.*"` != 0 ]; then
|
||||
rpm_target=sle
|
||||
rpm_site_infix=microos
|
||||
package_installer=zypper
|
||||
|
||||
Reference in New Issue
Block a user