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
|
||||
)
|
||||
|
||||
if getConfig valhalla.linux.secureBoot --json | jq --exit-status > /dev/null
|
||||
if isEnabled valhalla.linux.secureBoot
|
||||
source "$dir/../Config/SecureBoot/main.fish" $argv
|
||||
end
|
||||
|
||||
and if isEnabled valhalla.windows.dualboot.enable && $isInstall
|
||||
yayinst bt-dualboot
|
||||
end
|
||||
|
||||
and if collectionActive essential
|
||||
if $isInstall
|
||||
yayinst \
|
||||
|
|
|
@ -25,6 +25,10 @@ function isSet -S -a property
|
|||
not test "$(getConfig "$property" --json)" = "null"
|
||||
end
|
||||
|
||||
function isEnabled -S -a property
|
||||
getConfig "$property" --json | jq --exit-status > /dev/null
|
||||
end
|
||||
|
||||
function collectionActive -S -a name
|
||||
[ "$(getConfig "valhalla.software.$name" --json)" = "true" ]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue