diff --git a/IMG/cpio/ventoy/ventoy_chain.sh b/IMG/cpio/ventoy/ventoy_chain.sh index a0c7a32f..11e133d3 100644 --- a/IMG/cpio/ventoy/ventoy_chain.sh +++ b/IMG/cpio/ventoy/ventoy_chain.sh @@ -169,7 +169,7 @@ ventoy_get_os_type() { echo 'debian'; return elif $GREP -q 'Solus' /etc/os-release; then echo 'rhel7'; return - elif $GREP -q 'openEuler' /etc/os-release; then + elif $GREP -q -i 'openEuler' /etc/os-release; then echo 'openEuler'; return elif $GREP -q 'fuyu' /etc/os-release; then echo 'openEuler'; return diff --git a/IMG/cpio/ventoy/ventoy_loop.sh b/IMG/cpio/ventoy/ventoy_loop.sh index ee8ceedc..157789f5 100644 --- a/IMG/cpio/ventoy/ventoy_loop.sh +++ b/IMG/cpio/ventoy/ventoy_loop.sh @@ -205,7 +205,7 @@ ventoy_get_os_type() { echo 'debian'; return elif $GREP -q 'Solus' /etc/os-release; then echo 'rhel7'; return - elif $GREP -q 'openEuler' /etc/os-release; then + elif $GREP -q -i 'openEuler' /etc/os-release; then echo 'openEuler'; return elif $GREP -q 'fuyu' /etc/os-release; then echo 'openEuler'; return