mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 11:45:50 +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 creation="1.10"
|
||||||
local minimal="2.14"
|
local minimal="2.14"
|
||||||
|
|
||||||
if [ -s "$STORAGE/windows.ver" ]; then
|
if [ -f "$STORAGE/windows.ver" ]; then
|
||||||
creation=$(<"$STORAGE/windows.ver")
|
creation=$(<"$STORAGE/windows.ver")
|
||||||
|
[[ "${creation}" != *"."* ]] && creation="$minimal"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Force secure boot on installations created prior to v2.14
|
# Force secure boot on installations created prior to v2.14
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue