Skip to content

Commit cf530ec

Browse files
Wed 14 Aug 2019 12:27:58 EDT - fixed installer script
1 parent cf26cbb commit cf530ec

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

Scripts/helpers/esp32

100644100755
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/zsh
2+
3+
echo "\n--------------------------------------------------------------------------"
4+
echo "\n${squid} ${red}(Re)Install ${cyan}ESP32 IDF? ${nc}[y/${white}N${nc}]"
5+
echo "\n--------------------------------------------------------------------------"
6+
read -rs -k 1 response
7+
if [[ "$response" = "y" ]]
8+
then
9+
clear
10+
echo "\n--------------------------------------------------------------------------"
11+
echo "\n${fox} ${blue}Processing ${cyan}ESP32 IDF${nc}"
12+
echo "\n--------------------------------------------------------------------------"
13+
cd ~/esp
14+
#git clone --recursive git@github.com:OtherCrashOverride/esp-idf.git
15+
git clone -b release/v3.2-odroid --single-branch git@github.com:OtherCrashOverride/esp-idf.git --recursive
16+
cd ~/esp/esp-idf
17+
git submodule update --init --recursive
18+
./install.sh
19+
fi
20+
clear

Scripts/installer

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,21 @@ then
5858
#---------------------------------
5959
source helpers/paths
6060

61-
#---------------------------------
62-
# Goodbye
63-
#---------------------------------
64-
source helpers/goodbye
65-
else
66-
clear
67-
6861
#---------------------------------
6962
# Goodbye
7063
#---------------------------------
7164
source helpers/goodbye
7265
fi
66+
clear
67+
68+
#---------------------------------
69+
# Styles
70+
#---------------------------------
71+
source helpers/esp32
72+
73+
#---------------------------------
74+
# Goodbye
75+
#---------------------------------
76+
source helpers/goodbye
7377
sleep 1
7478
clear

0 commit comments

Comments
 (0)