Skip to content

Commit

Permalink
Update arch_x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
xplshn authored Jan 16, 2025
1 parent 2f69db2 commit 4a8419e
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions baseSystems/arch_x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,19 @@ 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
if pacman -Qs "$pkg" > /dev/null; then
pacman --nocofirm -Rns "$pkg"
fi
done
pacman --noconfirm -Scc ; yay --noconfirm -Scc
if [ "$SANDBOX" = "1" ]; then
# ArchLinux is stupid
Expand Down

0 comments on commit 4a8419e

Please sign in to comment.