diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index e6b6185..4db233c 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -75,7 +75,10 @@ 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 $(which $package) ]; then + $(which $package) + ret=$? + echo $ret + if [ $ret == 1 ]; then echo "$package not installed, addded to list" inastallPackagees+=" $package" fi diff --git a/version.txt b/version.txt index 9476943..2648c38 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -60-rc2.3 \ No newline at end of file +60-rc2.4 \ No newline at end of file