Update stuff
This commit is contained in:
@@ -38,5 +38,6 @@ opus-devel
|
||||
python3-dnf-plugin-versionlock
|
||||
rocm-opencl
|
||||
wine
|
||||
wine-core
|
||||
wine-mono
|
||||
winetricks
|
||||
|
||||
@@ -2,6 +2,7 @@ awk
|
||||
bat
|
||||
cargo
|
||||
curl
|
||||
eza
|
||||
fzf
|
||||
git-all
|
||||
gh
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -22,7 +22,7 @@ fi
|
||||
# Symlink Panama .bashrc file to ~/.bashrc
|
||||
ln -s "$PANAMA_BASH/.bashrc" "$HOME/.bashrc"
|
||||
|
||||
dirs=("espanso", "forge", "ghostty", "kitty", "nvim", "tmux")
|
||||
dirs=("espanso" "forge" "ghostty" "kitty" "nvim" "tmux")
|
||||
|
||||
for dir in "${dirs[@]}"; do
|
||||
echo "--- Setting up $dir ---"
|
||||
|
||||
Reference in New Issue
Block a user