Add support for EulerOS

This commit is contained in:
longpanda 2022-04-28 22:18:02 +08:00
parent 0984f5ba58
commit c4c05fc073
1 changed files with 4 additions and 1 deletions

View File

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