Install bt-dualboot
for dualboot systems
This commit is contained in:
parent
a2c95202b6
commit
5ad3657b32
|
@ -14,10 +14,14 @@ function deploySoftware -d "Deploys a the specified software action" -a action
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
if getConfig valhalla.linux.secureBoot --json | jq --exit-status > /dev/null
|
if isEnabled valhalla.linux.secureBoot
|
||||||
source "$dir/../Config/SecureBoot/main.fish" $argv
|
source "$dir/../Config/SecureBoot/main.fish" $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
|
and if isEnabled valhalla.windows.dualboot.enable && $isInstall
|
||||||
|
yayinst bt-dualboot
|
||||||
|
end
|
||||||
|
|
||||||
and if collectionActive essential
|
and if collectionActive essential
|
||||||
if $isInstall
|
if $isInstall
|
||||||
yayinst \
|
yayinst \
|
||||||
|
|
|
@ -25,6 +25,10 @@ function isSet -S -a property
|
||||||
not test "$(getConfig "$property" --json)" = "null"
|
not test "$(getConfig "$property" --json)" = "null"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function isEnabled -S -a property
|
||||||
|
getConfig "$property" --json | jq --exit-status > /dev/null
|
||||||
|
end
|
||||||
|
|
||||||
function collectionActive -S -a name
|
function collectionActive -S -a name
|
||||||
[ "$(getConfig "valhalla.software.$name" --json)" = "true" ]
|
[ "$(getConfig "valhalla.software.$name" --json)" = "true" ]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue