X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/1e12969555690925f7a1efcd344825d720178d35..261ddcef45ede2f9440342a5b3dd474e26df1679:/IMG/cpio/ventoy/ventoy_loop.sh diff --git a/IMG/cpio/ventoy/ventoy_loop.sh b/IMG/cpio/ventoy/ventoy_loop.sh index 341ea84..0c69ec1 100644 --- a/IMG/cpio/ventoy/ventoy_loop.sh +++ b/IMG/cpio/ventoy/ventoy_loop.sh @@ -127,8 +127,8 @@ ventoy_get_os_type() { # Deepin : do the same process with debian elif $GREP -q '[Dd]eepin' /proc/version; then - echo 'debian'; return - + echo 'debian'; return + # SUSE elif $GREP -q 'SUSE' /proc/version; then echo 'suse'; return @@ -198,6 +198,12 @@ ventoy_get_os_type() { echo 'rhel7'; return elif $GREP -q 'openEuler' /etc/os-release; then echo 'openEuler'; return + elif $GREP -q 'fuyu' /etc/os-release; then + echo 'openEuler'; return + elif $GREP -q 'deepin' /etc/os-release; then + echo 'debian'; return + elif $GREP -q 'chinauos' /etc/os-release; then + echo 'debian'; return fi fi