From ccafee4d1136ff9a6b3bc9cada58605171b78899 Mon Sep 17 00:00:00 2001 From: Eric Hammond Date: Sat, 14 Dec 2024 18:52:34 -0800 Subject: [PATCH] return error code from curl|sh --- install-script-header.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-script-header.txt b/install-script-header.txt index aa1a7e7..80e9837 100644 --- a/install-script-header.txt +++ b/install-script-header.txt @@ -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 $? -->