add more logging to install.sh
This commit is contained in:
parent
fc3d768768
commit
11f4dd94b9
1 changed files with 2 additions and 1 deletions
|
@ -397,7 +397,7 @@ extract_and_override_zip() {
|
|||
local out_path=$2
|
||||
|
||||
local failed=false
|
||||
tar -xzf "$zip_path" -C "$out_path" --overwrite &> /dev/null || failed=true
|
||||
tar -xzf "$zip_path" -C "$out_path" --overwrite > /dev/null || failed=true
|
||||
if [ "$failed" == true ]; then
|
||||
say_err "Extraction failed"
|
||||
return 1
|
||||
|
@ -474,6 +474,7 @@ install_dotnet() {
|
|||
|
||||
say "Downloading $download_link"
|
||||
download "$download_link" $zip_path
|
||||
say_verbose "Downloaded file exists and readable? $(if [ -r $zip_path ]; then echo "yes"; else echo "no"; fi)"
|
||||
|
||||
say "Extracting zip"
|
||||
extract_and_override_zip $zip_path $install_root
|
||||
|
|
Loading…
Reference in a new issue