From 4a8419ecfe86e1936617b545d205029144e62ac3 Mon Sep 17 00:00:00 2001 From: xplshn <114888778+xplshn@users.noreply.github.com> Date: Thu, 16 Jan 2025 06:44:59 +0000 Subject: [PATCH] Update arch_x86_64 --- baseSystems/arch_x86_64 | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/baseSystems/arch_x86_64 b/baseSystems/arch_x86_64 index e37291e..aee979b 100755 --- a/baseSystems/arch_x86_64 +++ b/baseSystems/arch_x86_64 @@ -39,18 +39,11 @@ mkdir -p ./ArchLinux_localResources && cd ./ArchLinux_localResources cat <<'EOF' >./pkgadd.sh && chmod +x ./pkgadd.sh # you can use ./pkgadd (single line, includes --Xbwrap command) for single-line installation procedures, or ./pkgadd.sh (always runs as uid 0, gid 0, within the container, its a sh script, can be multiline) for a more involved setup #!/bin/sh if [ "$AUR" = 1 ]; then - yay -Sy --nocofirm "$@" - yay -Yc --nocofirm - yay -Scc --nocofirm - yay -Ps - yay -Ql "$@" - pacman --nocofirm -Scc - yay --nocofirm -Scc - + yay -Sy --noconfirm $@ ; yay -Yc ; yay -Scc --noconfirm ; yay -Ps + yay -Ql $@ else - pacman --nocofirm -Sy "$@" - pacman --nocofirm -Ql "$@" - pacman --nocofirm -Scc + pacman --noconfirm -Sy $@ + pacman --noconfirm -Ql $@ fi for pkg in base-devel perl python; do @@ -58,6 +51,7 @@ for pkg in base-devel perl python; do pacman --nocofirm -Rns "$pkg" fi done +pacman --noconfirm -Scc ; yay --noconfirm -Scc if [ "$SANDBOX" = "1" ]; then # ArchLinux is stupid