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 genfstab -U "$mountDir" >>"$mountDir/etc/fstab"
and if isProgramEnabled "networkmanager" and if isProgramEnabled --name networkmanager
and pacstrap -K "$mountDir" networkmanager and pacstrap -K "$mountDir" networkmanager
arch-chroot "$mountDir" systemctl enable NetworkManager arch-chroot "$mountDir" systemctl enable NetworkManager
end 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 and yayinst propertree-git # mac .plist config file editor
end end
and if isProgramEnabled thunderbird && $isInstall and if isProgramEnabled --name thunderbird && $isInstall
yayinst thunderbird yayinst thunderbird
end end
@ -205,7 +205,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
audius-client-bin audius-client-bin
end end
and if isProgramEnabled nextcloud and if isProgramEnabled --name nextcloud
yayinst nextcloud-client yayinst nextcloud-client
end end
end end
@ -225,7 +225,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end end
end end
and if isProgramEnabled discord and if isProgramEnabled --name discord
yayinst vesktop-bin yayinst vesktop-bin
end end
@ -285,11 +285,11 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end end
end end
and if isProgramEnabled "osu!lazer" and if isProgramEnabled --name "osu!lazer"
yayinst osu-lazer-bin yayinst osu-lazer-bin
end end
and if isProgramEnabled retroarch and if isProgramEnabled --name retroarch
yayinst libretro yayinst libretro
end end
end end