Skip to content

Commit

Permalink
gam-install.sh full rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee authored Dec 11, 2024
1 parent b38bf3e commit bb922dc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/gam-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,8 @@ release_json=$(curl \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"$release_url" \
# -w "%{http_code}" \
2>&1 /dev/null)

#response_status="${release_response: -3}"
#release_json="${release_response:0:-4}"
#if [ "$response_status" != "200" ]; then
# echo_red "ERROR when retrieving ${release_url}:\n\n${release_json}"
# exit
#else
# echo_green "done"
#fi

echo_yellow "Getting file and download URL..."
# Python is sadly the nearest to universal way to safely handle JSON with Bash
# At least this code should be compatible with just about any Python version ever
Expand Down Expand Up @@ -497,4 +487,3 @@ echo_green "GAM installation and setup complete!"
if [ "$update_profile" = true ]; then
echo_green "Please restart your terminal shell or to get started right away run:\n\n$alias_line"
fi

0 comments on commit bb922dc

Please sign in to comment.