From b7623bcb2696cce14b3e0f749c0a4b341e6f4d92 Mon Sep 17 00:00:00 2001 From: kake26 Date: Fri, 7 Mar 2025 12:50:36 -0600 Subject: [PATCH] removed unneeded function --- mastersetup.bash | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mastersetup.bash b/mastersetup.bash index 31744be..bf2b8ac 100644 --- a/mastersetup.bash +++ b/mastersetup.bash @@ -32,18 +32,6 @@ sudo apt install curl git wget -y # at worst this does nothing # install the fun stuff -# deepseek suggested to make the code to grab a file a function due to repeated use - -install_from_url() { # I agree this will work fine - local url=$1 - local install_cmd=$2 - local temp_file=$(mktemp) - curl -fsSL "$url" -o "$temp_file" - chmod 755 "$temp_file" - eval "$install_cmd $temp_file" - rm "$temp_file" -} - # We begin with homebrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"