Commit 89a34bac authored by longpanda's avatar longpanda
Browse files

optimization for deepin/uos latest release

parent 8cecdae8
...@@ -161,6 +161,10 @@ ventoy_get_os_type() { ...@@ -161,6 +161,10 @@ ventoy_get_os_type() {
echo 'openEuler'; return echo 'openEuler'; return
elif $GREP -q 'fuyu' /etc/os-release; then elif $GREP -q 'fuyu' /etc/os-release; then
echo 'openEuler'; return 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
fi fi
......
...@@ -200,6 +200,10 @@ ventoy_get_os_type() { ...@@ -200,6 +200,10 @@ ventoy_get_os_type() {
echo 'openEuler'; return echo 'openEuler'; return
elif $GREP -q 'fuyu' /etc/os-release; then elif $GREP -q 'fuyu' /etc/os-release; then
echo 'openEuler'; return 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
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment