Skip to content

Commit

Permalink
return error code from curl|sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ehammond committed Dec 15, 2024
1 parent 210e1d2 commit ccafee4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install-script-header.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
bash -c '
tmp_dir=$(mktemp -d) &&
trap "rm -rf \"$tmp_dir\"" EXIT &&
echo "Downloading the latest abc install script from the Alestic organization on GitHub" &&
curl -fsSL https://raw.githubusercontent.com/alestic/abc/refs/heads/main/install_from_github.sh \
-o "$tmp_dir/abc_install.sh" &&
chmod +x "$tmp_dir/abc_install.sh" &&
echo "Running the abc install script" &&
"$tmp_dir/abc_install.sh" "$@"
' -- "$@"
exit 0
exit $?
-->

0 comments on commit ccafee4

Please sign in to comment.