feature/update_install_script #19

Merged
David merged 5 commits from feature/update_install_script into develop 2024-05-20 15:47:05 +02:00
Showing only changes of commit c00e159842 - Show all commits

View File

@ -77,7 +77,7 @@ function install() {
local link=$2 local link=$2
local temp_location="/tmp/$name" local temp_location="/tmp/$name"
echo "Downloading $name..." echo "Downloading $name..."
curl -fsSL -o "$temp_location" "$link" curl -fsSL -o $temp_location $link
if [[ $? != 0 ]]; then if [[ $? != 0 ]]; then
echo "Error: Failed to download $name" >&2 echo "Error: Failed to download $name" >&2
fail fail
@ -92,6 +92,7 @@ function install() {
echo "Error: Failed to install $name" >&2 echo "Error: Failed to install $name" >&2
fail fail
fi fi
rm $temp_location
} }
# returns missing dependencies # returns missing dependencies