mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Ignore empty version file
This commit is contained in:
parent
1e65b649f1
commit
c2084f18ab
1 changed files with 2 additions and 1 deletions
|
|
@ -1096,8 +1096,9 @@ bootWindows() {
|
|||
local creation="1.10"
|
||||
local minimal="2.14"
|
||||
|
||||
if [ -s "$STORAGE/windows.ver" ]; then
|
||||
if [ -f "$STORAGE/windows.ver" ]; then
|
||||
creation=$(<"$STORAGE/windows.ver")
|
||||
[[ "${creation}" != *"."* ]] && creation="$minimal"
|
||||
fi
|
||||
|
||||
# Force secure boot on installations created prior to v2.14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue