Update stuff

This commit is contained in:
2025-12-18 14:17:09 -06:00
parent 5f73b76800
commit 81eefc4f84
460 changed files with 10005 additions and 72 deletions

View File

@@ -7,6 +7,17 @@ exists() { command -v "$1" >/dev/null 2>&1; }
# --- Defined Paths ---
PANAMA_PATH="$HOME/.local/share/Panama"
echo -e "\n--- Installing RPM Fusion Free and Nonfree Repositories ---\n"
sudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm > /dev/null 2>&1
echo -e "\n--- Enabling Fedora Cisco OpenH264 Repository ---\n"
sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1
echo -e "\n--- Installing RPM Fusion AppStream Metadata ---\n"
sudo dnf update @core -y > /dev/null 2>&1
sudo dnf install -y rpmfusion-\*-appstream-data
echo -e "\n--- Installing Terra Repository ---\n"
sudo dnf install -y --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release > /dev/null 2>&1
echo -e "\n--- Installing relevant packages ---\n"
# --- Update all packages ---
log "Updating all packages..."
@@ -23,19 +34,6 @@ else
log "Package list was not in specified path: $PACKAGES_FILE"
fi
# --- Install eza with cargo if not already installed ---
if [[ -x "$HOME/.cargo/bin/eza" ]]; then
log "eza already installed at \"$HOME/.cargo/bin/eza\""
else
if exists cargo; then
log "Installing eza via Cargo..."
log "Cargo must build eza so this could take a minute or two."
cargo install eza > /dev/null 2>&1
else
log "Cargo not found. Was the package list installed?"
fi
fi
# --- Install oh-my-posh if not already installed. ---
LOCAL_BIN_PATH="$HOME/.local/bin"
mkdir -p "$LOCAL_BIN_PATH"