mirror of https://github.com/ventoy/Ventoy.git
optimization for deepin/uos latest release
This commit is contained in:
parent
8cecdae8f9
commit
89a34bac18
|
@ -161,6 +161,10 @@ ventoy_get_os_type() {
|
|||
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
|
||||
|
||||
|
|
|
@ -200,6 +200,10 @@ ventoy_get_os_type() {
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue