Add support for EulerOS

This commit is contained in:
longpanda 2022-04-28 22:18:02 +08:00
parent 0984f5ba58
commit c4c05fc073

View file

@ -93,7 +93,10 @@ ventoy_get_os_type() {
# Fedora : do the same process with rhel7
elif $GREP -q '\.fc[0-9][0-9]\.' /proc/version; then
echo 'rhel7'; return
elif $GREP -q 'euleros' /proc/version; then
echo 'rhel7'; return
# SUSE
elif $GREP -q 'SUSE' /proc/version; then
echo 'suse'; return