Skip to content

Commit 9d3f568

Browse files
Adding --yes parameter to avoid console prompt and install require dependencies (#52)
Co-authored-by: marboledacci <[email protected]>
1 parent 2adc0d5 commit 9d3f568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ install_gh_cli() {
5656

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

0 commit comments

Comments
 (0)