From 298ed25a321f64ecf1db58d5a84f808edb516fcc Mon Sep 17 00:00:00 2001 From: bh Date: Mon, 23 Mar 2026 21:13:41 +0800 Subject: Fix location of install scripts --- aur | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100755 aur (limited to 'aur') diff --git a/aur b/aur deleted file mode 100755 index 51dba03..0000000 --- a/aur +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -# Install paru on Arch-based systems, then clean cache. - -if [[ "$(id -u)" -eq 0 ]]; then - echo "Please run this script as a normal user, not root." - exit 1 -fi - -if ! command -v pacman >/dev/null 2>&1; then - echo "This script requires pacman. Are you on Arch or an Arch-based distro?" - exit 1 -fi - -if command -v paru >/dev/null 2>&1; then - echo "paru is already installed." -else - echo "Installing required packages..." - sudo pacman -S --needed --noconfirm base-devel git - - tmpdir="$(mktemp -d)" - trap 'rm -rf "$tmpdir"' EXIT - - echo "Cloning paru into $tmpdir..." - git clone https://aur.archlinux.org/paru.git "$tmpdir/paru" - - cd "$tmpdir/paru" - - echo "Building and installing paru..." - makepkg -si --noconfirm -fi - -echo "Cleaning paru cache..." -paru -Scc --noconfirm || true - -echo "Done." - -packages=( - llama.cpp - ledger-live - orca-slicer - tidal-hifi-bin - dropbox -) - -paru -S --needed "${packages[@]}" -- cgit v1.2.3