This commit is contained in:
2024-11-12 13:34:54 -07:00
parent 53d478d33b
commit 1c8186bfd5
+1 -1
View File
@@ -75,7 +75,7 @@ function handleCheckInstallPackages() {
packages=(git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0)
for package in "${packages[@]}"; do
if [ -z $(apt list git --installed) ]; then
if [ -z $(apt list $package --installed) ]; then
echo "$package not installed, addded to list"
inastallPackagees+=" $package"
fi