From 82c39642fb400b7a268366f60ef32326e4218e6a Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 12 Nov 2024 17:09:14 -0700 Subject: [PATCH] 61-dev1.6 --- reinstall-esp-idf.sh | 40 ++++++++++++++++++++-------------------- version.txt | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/reinstall-esp-idf.sh b/reinstall-esp-idf.sh index 91086f4..c1b2a0e 100644 --- a/reinstall-esp-idf.sh +++ b/reinstall-esp-idf.sh @@ -203,7 +203,7 @@ function handleDownloadInstall() { writeToLog "Handling download and install (function ran)" if [ "$idfGet" == "download" -o ! -d "$idfDir" ]; then - if [ ! -d "$idfDir" ]; then + if [ -d "$idfDir" ]; then writeToLog "deleting $idfDir" rm -rf $idfDir returnStatus @@ -220,25 +220,25 @@ function handleDownloadInstall() { returnStatus fi - # is this helpful in teh slightest? idk lel - if [ ! -z $(which python3) ]; then - writeToLog "python3 found at $(which python3), using" - idfPython="python3" - elif [! -z $(which python) ]; then - writeToLog "python found at $(which python), using" - idfPython="python" - else - writeToLog "no python found, skipping python tools install" - fi - - if [ -z $idfPython ]; then - writeToLog "installing tools with \`eval \"$idfPython $toolsInstallCmd\"\`" - - eval "$idfPython $toolsInstallCmd" - returnStatus - else - writeToLog "No python found on system, skipping python tools install" - fi +# # is this helpful in teh slightest? idk lel +# if [ $(which python3) ]; then +# writeToLog "python3 found at $(which python3), using" +# idfPython="python3" +# elif [! -z $(which python) ]; then +# writeToLog "python found at $(which python), using" +# idfPython="python" +# else +# writeToLog "no python found, skipping python tools install" +# fi +# +# if [ -z $idfPython ]; then +# writeToLog "installing tools with \`eval \"$idfPython $toolsInstallCmd\"\`" +# +# eval "$idfPython $toolsInstallCmd" +# returnStatus +# else +# writeToLog "No python found on system, skipping python tools install" +# fi writeToLog "getting the commit hash" commitHash=$(git -C $idfDir rev-parse HEAD) diff --git a/version.txt b/version.txt index 160180e..1e24aa8 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -61-dev1.5 \ No newline at end of file +61-dev1.6 \ No newline at end of file