Skip to content

Commit

Permalink
Adding --yes parameter to avoid console prompt and install require de…
Browse files Browse the repository at this point in the history
…pendencies (#52)

Co-authored-by: marboledacci <[email protected]>
  • Loading branch information
HandsomeCoder and marboledacci authored Oct 7, 2024
1 parent 2adc0d5 commit 9d3f568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ install_gh_cli() {

echo "Installing the GitHub CLI..."
if [ "$platform" == "linux_amd64" ]; then
set -x; $sudo apt install ./"$file_path"; set +x
set -x; $sudo apt install --yes ./"$file_path"; set +x
else
set -x; $sudo tar -xf ./"$file_path" -C /usr/local/ --strip-components=1; set +x
fi
Expand Down

0 comments on commit 9d3f568

Please sign in to comment.