File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ while true; do
1212 echo
1313 # Setup Githubcli Keyring
1414 if type -p curl > /dev/null || (sudo apt update && sudo apt install curl -y)
15- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
16- && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
17- && echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
18- && curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
19- && sudo apt update && sudo apt install -y gh git nodejs; then
15+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && \
16+ sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && \
17+ echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && \
18+ curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && \
19+ sudo apt update && sudo apt install -y gh git nodejs; then
2020 echo
2121 break
2222 else
You can’t perform that action at this time.
0 commit comments