mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-10-22 10:26:21 +00:00
1.0.07 release
This commit is contained in:
@@ -130,6 +130,7 @@ ventoy_get_os_type() {
|
||||
echo 'xen'; return
|
||||
elif $GREP -q 'SUSE ' /etc/os-release; then
|
||||
echo 'suse'; return
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -156,6 +157,14 @@ ventoy_get_os_type() {
|
||||
echo 'debian'; return
|
||||
fi
|
||||
|
||||
if $GREP -q 'Clear Linux ' /proc/version; then
|
||||
echo 'clear'; return
|
||||
fi
|
||||
|
||||
if $GREP -q 'artix' /proc/version; then
|
||||
echo 'arch'; return
|
||||
fi
|
||||
|
||||
echo "default"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user