]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/ventoy_chain.sh
update languages.ini (#829 #834)
[Ventoy.git] / IMG / cpio / ventoy / ventoy_chain.sh
index 1c52abb8f3a60bda778fc1b3604a3ab3d420794a..ccd7e3d0f6b4b9481670f71df3ae9bc8ac4754e9 100644 (file)
@@ -151,6 +151,8 @@ 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
+            echo 'openEuler'; return
         fi
     fi
     
@@ -315,9 +317,15 @@ ventoy_get_os_type() {
     if [ -f /DISTRO_SPECS ]; then
         if $GREP -q '[Pp]uppy' /DISTRO_SPECS; then
             echo 'debian'; return
+        elif $GREP -q 'veket' /DISTRO_SPECS; then
+            echo 'debian'; return
         fi
     fi
     
+    if [ -f /etc/openEuler-release ]; then
+        echo "openEuler"; return
+    fi
+    
     echo "default"
 }