This commit is contained in:
2024-11-12 13:31:09 -07:00
parent 28acb90c60
commit e4b72b4fe4
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -75,8 +75,9 @@ 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
$(which $package)
which $package
ret=$?
echo $ret
if [ $ret == 1 ]; then
echo "$package not installed, addded to list"