61-dev1.7

This commit is contained in:
2024-11-12 17:25:34 -07:00
parent 82c39642fb
commit 11315caa81
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -168,8 +168,8 @@ function handleSetupEnvironment() {
writeToLog "$installDir exisits, skiping creation"
fi
if [ -d "$espressifLocation" -a "$idfGet" == "update" ]; then
writeToLog "Skipping delete of $espressifLocation"
if [[ -d "$espressifLocation" && "$idfGet" == "update" ]]; then
writeToLog "Skipping delete of $espressifLocation because dir exists AND idfGet is set to update"
else
if [ -d "$espressifLocation" ]; then
writeToLog "deleting $espressifLocation"
@@ -202,7 +202,7 @@ function handleAliasEnviron() {
function handleDownloadInstall() {
writeToLog "Handling download and install (function ran)"
if [ "$idfGet" == "download" -o ! -d "$idfDir" ]; then
if [[ "$idfGet" == "download" || ! -d "$idfDir" ]]; then
if [ -d "$idfDir" ]; then
writeToLog "deleting $idfDir"
rm -rf $idfDir
+1 -1
View File
@@ -1 +1 @@
61-dev1.6
61-dev1.7