We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29a124 commit c22db7bCopy full SHA for c22db7b
install.sh
@@ -2,7 +2,15 @@
2
set -euxo pipefail #exit in case of errors
3
4
# install dependencies
5
-sudo apt update && sudo apt upgrade -y && sudo apt install -y git && sudo apt install -y gh && sudo apt install -y curl && sudo apt install -y nodejs && sudo apt install -y npm
+while true; do
6
+ if sudo apt update && sudo apt upgrade -y && sudo apt install -y git && sudo apt install -y gh && sudo apt install -y curl && sudo apt install -y nodejs && sudo apt install -y npm; then
7
+ echo
8
+ break
9
+ else
10
+ echo -e "\xE2\x9D\x8C please input your password to proceed so that the setup runs successfully"
11
+ exit 1
12
+ fi
13
+done
14
echo
15
#Configures git
16
read -p $'\e[1mEnter Github username: \e[22m' username
0 commit comments