Fix incorrect isProgramEnabled syntax

This commit is contained in:
Manuel Thalmann 2024-12-31 02:19:05 +01:00
parent c0b0eddbe5
commit 8cb2f86571
2 changed files with 6 additions and 6 deletions

View file

@ -64,7 +64,7 @@ begin
and genfstab -U "$mountDir" >>"$mountDir/etc/fstab"
and if isProgramEnabled "networkmanager"
and if isProgramEnabled --name networkmanager
and pacstrap -K "$mountDir" networkmanager
arch-chroot "$mountDir" systemctl enable NetworkManager
end

View file

@ -149,7 +149,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
and yayinst propertree-git # mac .plist config file editor
end
and if isProgramEnabled thunderbird && $isInstall
and if isProgramEnabled --name thunderbird && $isInstall
yayinst thunderbird
end
@ -205,7 +205,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
audius-client-bin
end
and if isProgramEnabled nextcloud
and if isProgramEnabled --name nextcloud
yayinst nextcloud-client
end
end
@ -225,7 +225,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end
end
and if isProgramEnabled discord
and if isProgramEnabled --name discord
yayinst vesktop-bin
end
@ -285,11 +285,11 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end
end
and if isProgramEnabled "osu!lazer"
and if isProgramEnabled --name "osu!lazer"
yayinst osu-lazer-bin
end
and if isProgramEnabled retroarch
and if isProgramEnabled --name retroarch
yayinst libretro
end
end