mirror of
https://github.com/dockur/windows.git
synced 2025-04-23 17:12:52 +00:00
Update define.sh
This commit is contained in:
parent
f7e69f1b42
commit
2405ce8778
@ -1505,7 +1505,11 @@ prepareInstall() {
|
||||
else
|
||||
|
||||
key="${pid:$((${#pid})) - 8:5}"
|
||||
key=$(grep -i -A 2 "$key" "$file" | tail -n 2 | head -n 1)
|
||||
if [[ "${pid^^}" == *"OEM" ]]; then
|
||||
key=$(grep -i -A 2 "$key" "$file" | tail -n 2 | head -n 1)
|
||||
else
|
||||
key=$(grep -i -m 1 -A 2 "$key" "$file" | tail -n 2 | head -n 1)
|
||||
fi
|
||||
key="${key#*= }"
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user