removed unneeded function

This commit is contained in:
kake26 2025-03-07 12:50:36 -06:00
parent 873fb2b53e
commit b7623bcb26
Signed by: kake26
GPG key ID: E8AFC43591876B4D

View file

@ -32,18 +32,6 @@ sudo apt install curl git wget -y # at worst this does nothing
# install the fun stuff # 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 # We begin with homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"