Fixe the issue when booting PrimeOS 2.0.1

This commit is contained in:
longpanda 2022-03-06 21:04:36 +08:00
parent ff14c07c4e
commit ab0f25d097
1 changed files with 5 additions and 1 deletions

View File

@ -52,8 +52,12 @@ ventoy_get_os_type() {
fi
fi
# PrimeOS :
if $GREP -q 'PrimeOS' /proc/version; then
echo 'primeos'; return
# Debian :
if $GREP -q '[Dd]ebian' /proc/version; then
elif $GREP -q '[Dd]ebian' /proc/version; then
echo 'debian'; return
# Ubuntu : do the same process with debian